This post originated from an RSS feed registered with Web Buzz
by Simon Willison.
Original Post: Let's go ::outside
Feed Title: Simon Willison: Web Standards
Feed URL: http://feeds.simonwillison.net/swn-everything
Feed Description: Simon Willison's Web Standards cateory
Tom Gilder has started a series of posts looking ahead to CSS3. In his first installment, he describes the awesomely powerful ::outside pseudo-element. Using this, CSS3 authors can apply multiple backgrounds and borders to single elements (at the moment doing so requires fussing around with nested divs). If you don't instantly see the importance of this, take a look at some of the attempts to render rounded box corners using CSS. All of them require the addition of extra presentational elements, none of which would be needed if we could use the ::outside selector instead.