About Posh CSS
Posh CSS is a collection of Cascading Style Sheet Articles, Tutorials, Tips and Code snippets for the modern day web designer.
Browse the site
Submit a link
Have you written or read a great resource relating to CSS that we are not linking to yet? Let us know.
Browse our Archives
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
Get in touch
Have a question or just want to drop us a line? Contact Us →
Posh CSS
CSS adjacent-sibling selector
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.
Comments
No comments yet, add yours below.
Commenting has closed for this article.


