Web Development by Alistair Robinson

« Blog home

Posts Tagged ‘css’…

CSS Abstracted: Update


June 8th, 2010 4 Comments

In a recent post I described my first foray into…well now, what am I supposed to call them? CSS frameworks? No, that doesn’t work, because Blueprint and YUI and 960 and others are often described as such. CSS meta-frameworks? That appeals to me, but it’s rather obscure. CSS compilers? Yes, perhaps.
But wait. There are CSS compilers, and then there are the libraries and frameworks and plugins that are built around them. Well, I guess that’s where the term “meta-framework” comes in.
One such meta-framework is Compass, which is built around the core language and compiler Sass. I mentioned Compass briefly in my other post. At the time, I had dismissed it as being more than I required, or more than I … read on »

CSS Abstracted


May 1st, 2010 2 Comments

Half way through the development of my last site I decided to use PHP files for CSS. I had a few stylesheets, and I found I was constantly going from one to the other to copy and paste hex colour codes. And then later, if I wanted to change a colour, I’d have to change it in all those different places. That really is no way to work.
The answer to this, of course, is variables (or constants), so that you can define your colours in one place. Trouble is, CSS don’t got none. In fact, CSS is lacking in several important ways. What it boils down to is that we struggle to get around the fact that CSS doesn’t work … read on »


©2010 Alistair Robinson