Selectivizr: CSS3 features in IE6-8
Posted by Stephan onAs I’ve just started at my new job yesterday I won’t have much time to write extensive articles for a while. Not during working hours that is, and as I’m in the middle of moving back to my hometown I don’t see myself writing anything from home either.
So here’s just a short one that I felt the urge to share: Selectivizr. As tweeted by @zeldman:
selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in IE 6-8.
From the looks of it, by just including a script and using one of the main seven javascript libraries (among which are jQuery, MooTools and ProtoType) you can now safely use CSS3′s :first-child, ::first-letter and all the other cool pseudo-selectors. Also the advanced attribute selectors like [attr=], [attr~=] and [attr^=] are supported, making it even easier to style your websites without using all those redundant classes and id’s on all your document’s elements.
Sounds awesome, right? I’ll post an update when I’ve found the time to give it a try.