Submit a CSS related link →

Posh CSS

For the modern day web designer.

CSS adjacent-sibling selector

# Linked to 16 March 2008, 16:06 in by Sam Brown

Most CSS selectors are well known, but there are some interesting selectors that are not common used, like the adjacent-sibling selector. An adjacent sibling selector will select the sibling immediately following an element, with the same parent. In this article, the adjacent-sibling selector is used to style an ordered list.

Read more at www.onyx-design.net →

Sam Brown

Sam Brown is a freelance interface designer and web standards developer based in Edinburgh, Scotland. Sam's work can be seen at Massive Blue, blogs at Sam Brown and is on Twitter at @sambrown.

No thoughts were recorded on this post.