Earlier this year we discussed the problems (too many http requests) of using @import to uh … import, stylesheets into other stylesheets. Yet again Sass seems to offer a viable and simple solution to the problem using partials http://alistapart.com/blog/post/organize-that-sass. Did I mention I really like Sass?
[Laughs] That’s great atelier. I hope you find it useful.
I haven’t completely moved over to Sass (yet) but I have been slowly integrating it into my work and it’s been a tremendous asset so far. Lots to learn though.
Todd
You make me more and more interested in Sass, Todd! Certainly gonna check it out for the next project.
Your milage differs a lot (understatement of the season) so I 'm quite curious how you managed.
What did you find difficult, what easy?
I am curious about Sass because I have the idea that the system helps in keeping css under control. Certainly when a project grows, and more rules and exceptions are added. I like my soup clear, so I can see what’s in it, if you get my drift
The good news is I wouldn’t say any of it is exactly difficult, it’s structured in a simple and logical way which makes it relatively easy to understand the basic concept, even for beginners. It’s just a matter of getting accustomed to the syntax which isn’t large or complex so you’ll probably pick it up pretty quick.
What’s nice is how you can slowly transition parts over to Sass while keeping the rest as plain CSS, you don’t have to worry about doing it all at once. And you’re right about it being a great tool for organization, you might even wonder how you ever lived without a preprocessor.
Todd
Your milage differs a lot (understatement of the season) so I 'm quite curious how you managed.
What did you find difficult, what easy?
I am curious about Sass because I have the idea that the system helps in keeping css under control. Certainly when a project grows, and more rules and exceptions are added. I like my soup clear, so I can see what’s in it, if you get my drift
Sass is very easy to learn and benefit from. Think of it like CSS with extensions and some programming smarts and amazing organization capabilities. Fortunately, regular old CSS will compile as correct SCSS (the standard syntax of Sass), so it’s very easy to start integrating the most useful parts into existing projects.
It even gets better with add-ons like Bourbon (no more vendor prefixes!) and Neat (semantic and responsive frameworks forever!).
If you don’t like the thought of using the terminal to install and run Sass, go and get a copy of LiveReload or Hammer (which also brings some Sass-style smarts to regular old HTML).
If you don’t like the thought of using the terminal to install and run Sass, go and get a copy of LiveReload or Hammer (which also brings some Sass-style smarts to regular old HTML).