Posted by Neil Crosby on October 12, 2005 07:46 PM
- CSS Zen Garden
If you’d asked me a couple of hours ago if I thought that there was anyone who was interested in designing websites who didn’t know about the CSS Zen Garden, I’d have given you a bemused look. As it turns out, there are a few people out there who still don’t know that it exists!
Started way back when in the dark days before CSS was known for being able to be used to create sites full of beauty by David Shea, it was intended as a way to show just how flexible a site that used CSS could be. The concept of the site is simple: leave the HTML alone but change the CSS, and what was a cityscape can become a stylish letter sent by airmail.
I like to retreat to the garden from time to time to reflect on the work of these fantastic artists. It’s great for pumping a bit of fresh vitality into those worn out CSS fingers.
- CSS Specificity Wars
One of the things that I’ve had trouble grasping in the past is exactly how CSS specificity works (try saying that after a couple of drinks, or even sober if you’re anything like me!). In this article, specificity is likened to the relationships between the Emperor, Darth Vader and the Storm Troopers in Star Wars. Definitely makes things a little easier to understand if your specificity skills are lacking.
- Hide CSS from Safari
Back last year, when I wrote about creating cross browser compatible text drop shadows with css I used the little known Stokely Hack to allow CSS to be written which would be ignored by the Safari web browser. Admittedly, wanting to write CSS that will be ignored by Safari isn’t something you’d want to do every day, but there are occasions when it is useful to be able to do.
Turns out that there’s another, much simpler, way to hide CSS from Safari - if you use an @import inside an @media rule, then Safari will ignore all rules within that @media rule.
If you really enjoyed what you just read, why not buy yourself something from Amazon? You get something nice for yourself, and I get a little bit of commission to pay for servers and the like. Everyone's a winner!
TrackBack URL for this entry: http://www.workingwith.me.uk/cgi-bin/type/mt-tb.cgi/589