14 Nov '13, 10pm

Sass Variables

Magnus Gyllenswärd November 14, 2013 design Variables in Sass can be seen as simple versions of symbols in Fireworks or Illustrator, or as Smart objects in Photoshop; the most basic way of making a value appear in multiple places while still being able to update it where it was defined. It prevents you from having to search through your code, trying to find all the places where you specified a certain number or name. Change the value of the variable and all the instances where it's used will update along with it. Any single property that will be repeated in the code, such as a color or a size, usually benefits from being declared with a variable to allow the designer to make changes easier and quicker. For instance, if the height of an element needs to be the same as the height of another element, it can be useful to set that height as a variable, making sure it will stay ...

Full article: http://robots.thoughtbot.com/sass-variables/

Tweets

Sass Variables

robots.thoughtbot.com 17 Nov '13, 6pm

Magnus Gyllenswärd November 14, 2013 design Variables in Sass can be seen as simple versions of symbols in Fireworks or Il...

@curtismchale @scottkclark Go even further and ...

sass-lang.com 14 Nov '13, 3am

Sass’s indented syntax (also known simply as “Sass”) is designed to provide a more concise and, for some, more aesthetical...

"desaturate" sass lightness 明度の使い方がわかった!?

robots.thoughtbot.com 27 Nov '13, 2pm

Sass comes with functions that can easily be applied to colors in your CSS properties. These functions, when used correctl...

Announcing Bitters, a Dash of Sass Stylesheets ...

robots.thoughtbot.com 08 Nov '13, 10pm

Announcing Bitters, a Dash of Sass Stylesheets for Bourbon and Neat Kyle Fiedler November 08, 2013 design sass bourbon nea...

Announcing Bitters, a Dash of Sass Stylesheets ...

robots.thoughtbot.com 19 Nov '13, 12pm

Announcing Bitters, a Dash of Sass Stylesheets for Bourbon and Neat Kyle Fiedler November 08, 2013 design The designers he...

@danielwilber Updated my guard-sass snippet. Yo...

sass-lang.com 25 Nov '13, 5pm

You can create partial Sass files that contain little snippets of CSS that you can include in other Sass files. This is a ...

@patr1ck I like grouping by id/class myself. Sa...

sass-lang.com 27 Nov '13, 12am

Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If se...

when using SASS and filter don't forget ie-hex-...

sass-lang.com 06 Nov '13, 2pm

# File '/Users/jbolton/projects/sass-site/.sass/lib/sass/script/functions.rb', line 286 def self.signature(method_name, ar...