How do you scale CSS for millions of visitors or thousands of pages? Nicole first presented Object Oriented CSS at Web Directions North in Denver. Since then, the response has been overwhelming. OOCSS allows you to write fast, maintainable, standards-based front end code. It adds much needed predictability to CSS so that even beginners can participate in writing beautiful websites.
Two main principles
- Separate structure and skin
- Separate container and content
Getting Started
- Download all the files and set up a local directory
- Open template.html (this is the basic template you will modify to create all other pages).
- Set your left and right column widths by extending the column objects
- Use grids to break the page up further into smaller sections.
- Test your site functionality by adding content objects from the content.css file. These can also be found in library.html.
http://wiki.github.com/stubbornella/oocss
No comments:
Post a Comment