HAML

My Favorite New Toy

2009
Jan
2
4

Tags

In my quest to become a better RoR developer/Web Designer I have come across something that has made creating CSS for websites just that much easier. Sass is a meta language that actually allows you the developer to create cleaner CSS code.

Sass actually even adds some new functionalities to CSS. It allows you to nest tags and helps you create nice semantically meaningful code.

Also I allows you to set variables in your css files. So for instance you need to use a particular color more than once you an set a variable at the top of your sass file with that color value like so:

Subscribe to HAML