HTML CSS examples for CSS Selector:element not immediately sibling
Style list of element and skip first child
<html> <head> <style> p~p { background:Chartreuse; } </style> <!--from ww w. j a v a 2s .com--> </head> <body> <h1>This is a heading</h1> <p>The first paragraph.</p> <p>The second paragraph.</p> <p>The third paragraph.</p> <p>The fourth paragraph.</p> </body> </html>