Zach Shepherd's WordPress Blog

Just another WordPress weblog

Sunday, April 20, 2008

Offspring

Back in February, I read an interesting article by Alex Bischoff on A List Apart entiled “Keeping Your Elements’ Kids in Line with Offspring”. He proposed a (not-so-original) way to circumvent browser css pseudo-class inconsistencies (using javascript to apply full classes as appropriate), but applied it to something new: the offspring pseudo classes (:first-child, :last-child, :only-child, etc.). The javascript files to apply the classes are available through Google Code.

As painful as it is to need to use javascript to enhance static styling, I think he hits the nail on the head with his mention of progressive enhancement. I can envision a variety of cases where the pseudo-pseudo-classes could be utilized to enhance display while still keeping the page functional for users without javascript. I can’t wait to see what the design world comes up with once more of css3 is supported.

posted by Zach at 2:37 pm  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress