O'Reilly logo

Pragmatic Guide to Sass by Michael Lintorn Catlin, Hampton Catlin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix 2Introduction to Haml

Haml is something of a sister language to Sass, but Haml was actually designed before Sass. It was successful enough that a CSS-version was developed, applying the same principles of Haml into CSS. They were both developed to clarify the meaning behind design.

Haml was created from the desire to write logically structured HTML that your designer would thank you for. HTML builders shouldn’t make crap: the layout of the page and the information on the page should be logically structured and well named. Haml isn’t a revolution; it’s a statement of the obvious and an adoption of best practices.

Installing Haml is pretty similar to installing Sass. Once Ruby is installed, all you need to type in the command line is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required