Book description
CSS is fundamental to the web, but it's a basic language and lacks many features. Sass is just like CSS, but with a whole lot of extra power so you can get more done, more quickly. Build better web pages today with Pragmatic Guide to Sass. These concise, easy-to-digest tips and techniques are the shortcuts experienced CSS developers need to start developing in Sass today.
Table of contents
-
Pragmatic Guide to Sass
- Copyright
- For the Best Reading Experience...
- Table of Contents
- What Readers Are Saying About Pragmatic Guide to Sass
- Acknowledgments
- Welcome!
-
Part 1: Basics
- Installing Sass
- Compiling Sass into CSS
- Using Sass with Rails
- Avoiding the Command Line: Using Scout
- Commenting
- Selector Scoping
- Going Further with Advanced Scoping
- Altering the CSS Output
- Defining Variables
- Calculating a Layout
- Creating Themes with Advanced Colors
- Importing
- Building a Font Family Library
- Resetting CSS
- Part 2: Advanced
- Part 3: Compass
- Part 4: Blueprint CSS
-
Appendix 1: SassScript Function Reference
- rgb($red, $green, $blue)
- hsl($hue, $saturation, $lightness)
- hsla($hue, $saturation, $lightness, $alpha)
- red($color)
- green($color)
- blue($color)
- hue($color)
- saturation($color)
- lightness($color)
- alpha($*args)
- opacity($color)
- opacify($color, $amount)
- fade-in()
- transparentize($color, $amount)
- fade-out()
- lighten($color, $amount)
- darken($color, $amount)
- saturate($color, $amount)
- desaturate($color, $amount)
- adjust-hue($color, $degrees)
- adjust-color($color, $kwargs)
- scale-color($color, $kwargs)
- change-color($color, $kwargs)
- mix($color1, $color2, $weight = 50 )
- grayscale($color)
- complement($color)
- invert($color)
- unquote($string)
- quote($string)
- type-of($value)
- unit($number)
- unitless($number)
- comparable($number_1, $number_2)
- percentage($value)
- round($value)
- ceil($value)
- floor($value)
- abs($value)
- length($list)
- nth($list, $n)
- join($list1, $list2, $separator = "auto" )
- append($list, $val, $separator = "auto" )
- zip($*lists)
- index($list, $value)
- if($condition, $if_true, $if_false)
- numeric-transformation($value)
- Appendix 2: Introduction to Haml
Product information
- Title: Pragmatic Guide to Sass
- Author(s):
- Release date: December 2011
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781934356845
You might also like
book
Pragmatic Guide to Sass 3
Design websites faster than ever using Sass--the most mature and popular CSS meta-language. On any platform, …
book
Jump Start Sass
Get a Jump Start on the popular CSS preprocessor Sass today! Using Sass, you can write …
article
Use Llama-2 for Effective Text Summarization
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Mastering Sass
Create interactive and responsive cross-browser apps with SASS and Compass About This Book Create data-intensive, highly …