Posh CSS # for the modern day web designer

Submit an Article or Link Subscribe


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.

Submit a Link →


Browse our Archives

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.