Powered by GoodBarry

“Ninja Training for Web Designers”

Use CSS3 Pseudo Classes Now

Tuesday, February 05, 2008 - Lawrence Hsu | BC

A new javascript library called Offspring was introduced in the new A List Apart article "Keeping Your Elements' Kids in Line with Offspring". Offspring lets you use a bunch of CSS3 pseudo classes on browsers that are still quite "sucky" CSS3-wise.

“Pseudo-classes act like classes applied to an element except that they take effect based on an element’s status or its position within the document structure. For instance, you’ve probably used :visited before. The browser associates that with links if they’re visited—there’s no visited class that needs to be applied manually: it just happens. Such is the way with pseudo-classes.”

Recent Posts

Category

Archive

    Back to Top