Blog posts tagged "css"

Multiple Shadows on Fire!

Joost de Valk wrote:

Kornel mailed me today with an addition to the text-shadow preview page, that looks quite good :). He noted that the Safari implementation of text-shadow is a bit poor, as it supports only one shadow, and they are offset wrong by 1px. Thanks Kornel!

Yet another brilliant example of CSS3's power!

Posted on Thu 11th October, 2007 in and with no comments

CSS for poker players

I've just read an excellent explanation of CSS Specificity using a poker analogy and it just makes it so clear to hear it like that. The author covers everything in terms of the basic hands available in a game of poker. This can help explain some of the many mysteries of CSS!

Carl wrote:

Some folks getting on board with CSS tend to get stuck on CSS specificity. The descriptions of which rules override other rules tend to make more sense to programmers than designers, since programmers are used to the concepts of inheritance and overriding properties.

If you're not from the programming world and CSS seems a bit confusing, perhaps this analogy may help clear some concepts up. Think of CSS rules as poker hands. The best hand determines an element's style.

Posted on Sat 14th April, 2007 in , and with 1 comment

Accessible Display: None

Nathan Smith explains the problems with using selector { display: none; } to hide content on a page and suggests a better alternative selector { display: block; overflow: hidden; width: 0; height: 0; }.

Posted on Fri 6th April, 2007 in , , , and with no comments

Showing 1 to 3 of 3