CSS for painting
I've got a great new idea for an invention, that I just thought of whilst painting the walls of my daughter's bedroom, which is going to take 3 coats, and I'm not totally sure that the colour is exactly what I want, and I can't tweak it a little once I've finished.
A CSS file makes it really easy to change the colours of an entire website all in one go, and saves loads of time. My idea is to have a CSS file for a house. In that way I can try out a colour, and change it if I don't like it. e.g. I can start with this:
and if I don't like it, I can change it to
Haven't quite figured out how to code it up yet though...
A CSS file makes it really easy to change the colours of an entire website all in one go, and saves loads of time. My idea is to have a CSS file for a house. In that way I can try out a colour, and change it if I don't like it. e.g. I can start with this:
.house .bedroom .emma
{
background-color: FloralWhite;
}
and if I don't like it, I can change it to
.house .bedroom .emma
{
background-color: PapayaWhip;
}
Haven't quite figured out how to code it up yet though...
4 Comments:
Brilliant idea. Another thing I really want for my son's bedroom (and my future daughter's nursery for that matter) is garbage collection.
Garbage collection. Yes, that would be very handy!
Haven't quite figured out how to code it up yet though...
How about implementing the GOF Decorator pattern?
Hah! Brilliant!
Or how about a ReModel View Controller...?
Post a Comment