Getting Sassy with CSS →
My newest post on the Sencha blog covering the wonders of SASS and Compass. Includes a full getting started guide and covers some of the techniques we used in developing the themes for Sencha Touch.
Via Sencha tumblelog.
My newest post on the Sencha blog covering the wonders of SASS and Compass. Includes a full getting started guide and covers some of the techniques we used in developing the themes for Sencha Touch.
Via Sencha tumblelog.
Spoiler: He reduces the lines of code by 32% and fixes six bugs without trying.
If you’re a web developer and haven’t given Sass a try yet, get into it ASAP. It a Ruby gem that abstracts CSS — it empowers the CSS with functions and variables, saves a ton of development time, and even makes it easier to be more consistent with your designs. Here’s a sample of a theme I’m working on which shows off some of the functionality.
Version 3 brings a new syntax to SASS, converting the language to a CSS superset, meaning it actually looks like CSS now (one of my biggest complaints of SASS 2). The new format is called SCSS (Sassy CSS) and is built off the CSS3 spec.
Very happy about the CSS superset implementation. They’ve gotten rid of = and replaced it with : for property-value designation, as it should be. Also, they now use $ for variables instead of !. FTW!