The Absolute Beginner's Guide to Sass
blog.teamtreehouse.com
blog.teamtreehouse.com
Think of Sass Indented Syntax as a power tool for advanced users. (Although I usually use indented, there are times where I prefer SCSS instead)
The single biggest difference is in available style libraries in my opinion. I could probably never use Less because my workflow has become so heavily intertwined with Bourbon, Susy, and Compass.
Thanks for sharing!
ie. Mixins
LESS
.border-radius(@radius){ border-radius: @radius; }
.border-radius(5px);
SCSS/SASS @mixin border-radius(@radius){ border-radius: @radius; }
@include border-radius(5px);
- - -The biggest difference is being able remove curly braces and semi-colons, which can speed up your development
h1
font-weight: bold
color: redhttp://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...
Thank you!!!
Compared to sass/less, sometimes I needed to build before I knew if something worked the way I expected, in addition visual clues are non existent and comments were needed to identify structure.
So in response to this comments, stylus is quite nice, but it needs some rules, especially for bigger projects, because it does get messy. And last thing, I wish it was more like Coffeescript, at least use # for comments stylus and you make my day.