![]() |
|
02.01.10 Making Stylesheets Easier To Write And Maintain By Praval SinghI've dabbled, played and tinkered with HTML/CSS for quite sometime but never took it seriously. Neither did I enjoyed doing them that much to relish the awesomeness of CSS. Of late, I've involved knee deep in some serious and heavy duty CSS. ![]() For some odd reason, I liked the way things worked out and am intrigued enough that I want to know more and go deeper, improvise and do it more better, and efficiently. Today, let me chronicle some of the tools, utilities I stumbled upon and I hope that it will be useful to other web developer/designers. Our team embraced semantic and well marked-up HTML long back and HTML5 is proving to be a boon for us. But for this article, let's keep HTML5 for another sunny day and let me just talk CSS. Many people have many concerns with CSS, some of the glaring ones being the lack of variables, inability to nest styles, etc. Many CSS gurus and advanced users are smart enough to twist around this and write smart CSS and still remain sane about it. However, for the normal and not-that-advanced CSS developers and designers, I feel there is a real need for them. That's where many of these CSS pre-processor comes in as a savior. Let's play. I'll talk about • Sass • Compass • a little bit of Susy • How to get Started (Installation and Usage) • Few introductory Best Practices • A working Live Demo I won't even talk about their integration with other major Application Servers like Merb, Jekyll, Ruby on Rails, etc. I'll assume a standalone CSS-Project to make it easier for you to start off. Integration is the much easier part. Sass Before going ahead, let me say that I like Nathan Borror's article - Sass isn't for me and the reasoning behind it. Fortunately, Sass is for me and will be for most of you. Of course, i'll tell you how we manage 3000+ lines of CSS codes with Sass without having to scroll much and without having to wait for compass to compile those 'ballooning' 10,000+ lines Sass codes. Continue reading this article. About the Author: Praval Singh is a contributing writer for Brajeshwar.com. |
|
| ||
| -- CIOproNews is an iEntry, Inc. publication -- iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 2010 iEntry, Inc. All Rights Reserved Privacy Policy Legal archives | advertising info | news headlines | free newsletters | comments/feedback | submit article |