conversation about how Preprocessors can bloat your CSS Many great articles arguing the merits/gotchas of using a pre-processor. Here’s one I really agree with: http://bit.ly/Sassisntbad My personal opinion: “Like everything in technology, preprocessors are a tool in your arsenal. You should understand the fundamentals of CSS before relying on them.” Thursday, May 24, 12
conversation about how Preprocessors can bloat your CSS Many great articles arguing the merits/gotchas of using a pre-processor. Here’s one I really agree with: http://bit.ly/Sassisntbad My personal opinion: “Like everything in technology, preprocessors are a tool in your arsenal. You should understand the fundamentals of CSS before relying on them.” Thursday, May 24, 12
control directives in languages like javascript, ruby, PHP -- Sass provides some rudimentary functionality: •if/else if/else •for •while •each Thursday, May 24, 12
else if, else) •create exceptional cases determined by CSS controlled attribute OR •Sass also contains an “if” function which works as: if($condition, $if-true, $if-false) Thursday, May 24, 12
color methods. Sass can help you: •Create themes/schemes/palettes based on harmonious color relationships •Mix colors using color relationships •Perform color operations w/ RGB and HSL Thursday, May 24, 12
of helpful functions which can make interesting results: •Geometry functions: •sin(), cos(), tan(), pi() •Additional math functions: •e(), log(), sqrt() Advance processing in Compass Thursday, May 24, 12
•Offload some of the processing for things you might do in javascript for faster performance •Be able to calculate in one place and not worry about it. •Do things like: •calculate coordinates on a circle •plot points on a graph •create some interesting designs using math! Thursday, May 24, 12
based on hsl relationships. •This can help you determine what colors might go with your initial color. •Color relationships are based on Sass color functions Thursday, May 24, 12
based on hsl relationships. •This can help you determine what colors might go with your initial color. •Color relationships are based on Sass color functions Thursday, May 24, 12
of Sass: youtube.com/watch?v=MFwId6xSh2o • Chriss Eppstein: Help! My Stylesheets are a Mess! speakerdeck.com/u/chriseppstein/p/ help-my-stylesheets-are-a-mess • Dave Kaneda on Sass: vimeo.com/41600596 • Brandon Mathis: brandonmathis.com/blog/2010/09/21/fast-color-theming-with-compass- and-sass/ • Joel Oliveira and Adam Darowski: Sassive Aggressive - vimeo.com/22244178 Thursday, May 24, 12