HTML CSS examples for CSS Selector:after
Select all classes after the first of its type
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .homeowner-rating:not(.main-gallery)<!-- w w w . jav a 2 s . c o m--> { color:Chartreuse; } </style> </head> <body> <section class="main-gallery homeowner-rating content-block"> <p>Lore</p> </section> <section class="homeowner-rating content-block"> <p>Lore</p> </section> <section class="homeowner-rating content-block"> <p>Lore</p> </section> <section class="homeowner-rating content-block"> <p>Lore</p> </section> </body> </html>