Home arrow Style Sheets arrow Building a Simple CSS Framework
STYLE SHEETS

Building a Simple CSS Framework


The ability to reuse blocks of code is a blessing and a time saver to programmers everywhere. Web sites are too distinctive to allow you to do very much of this, right? Wrong. You can build a CSS framework to give you the flexibility you need, and use the time you save for the parts of your project that matter most. This five-part series shows you how.

Author Info:
By: Alejandro Gervasio
Rating: 4 stars4 stars4 stars4 stars4 stars / 9
February 19, 2009
TABLE OF CONTENTS:
  1. · Building a Simple CSS Framework
  2. · Creating a simple reset style sheet
  3. · Defining a CSS file for creating liquid web page layouts
  4. · Building a two-column liquid web page layout

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Building a Simple CSS Framework
(Page 1 of 4 )

Introduction

Let’s face it. Experienced web developers know that a certain dose of laziness is actually healthy, particularly when it comes to building large web applications on a tight headline. Naturally, I’m not saying that this is something that you should be bragging about in a job interview, but when it’s necessary to develop a huge web-based project, reusing certain blocks of code can save you from reinventing the wheel.

However, in the terrain of web design things can be a bit more complex. It's not always easy to reuse a certain number of HTML templates, or even entire style sheets. Even so, it’s feasible to create several CSS files that can be reused for accelerating the development of distinct web sites.

In other words, what I’m talking about here is creating a CSS framework that permits, with minor variations, you to style multiple web projects, without having to write long and complex style sheets from scratch. Besides, it’s possible that you’ve already built such a framework without being aware of it, or that you’re interested in learning how to create it in a painless way.

If this is the case, then hopefully this group of articles will be useful to you, since in the course of its different tutorials, I’ll be demonstrating how to construct a simple, yet useful, CSS framework that will allow you to create and style several web page layouts, including fixed and liquid designs, by reusing only a few external style sheets.

Of course, I’m going to start this educational journey with the very basic concepts, that is explaining how to build a basic CSS reset file, along with a couple of HTML templates. As you begin to grasp the logic behind all these processes, I’ll demonstrate how to create more complicated web page layouts.

Hopefully, by the end of this series, you’ll be armed with the background required for building your own CSS framework, or for expanding the one that I plan to build in the next few lines.

In either case, it’s time to start reading. Let’s get going!


blog comments powered by Disqus
STYLE SHEETS ARTICLES

- CSS Combinators: Working with Child Combinat...
- CSS Combinators: Using General Siblings
- Intro to CSS Combinators
- CSS Semicircles and Web Page Headers
- Drawing Circular Shapes with CSS3 and Border...
- More CSS Pagination Link Templates
- CSS Pagination Links
- Animated CSS3 Image Gallery: Advanced Transi...
- CSS3 Animated Image Gallery: Transitions
- CSS3 Properties: Fixed Heights with box-sizi...
- CSS3 Properties: Altering Strokes and 3D Eff...
- CSS3 Properties: Text-Stroke
- CSS3 Transitions: Width and Height Properties
- Creating a Drop Down Menu in CSS3
- Intro to CSS Transitions

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials