Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to select every element except first

<style>
  .parent .child:not(:first-child){
    color: red;
  }
</style>
<div class='parent'>
  <div class='child'></div>
  <div class='child'></div>
  <div class='child'></div>
</div>
 
PREVIOUS NEXT
Tagged: #select #element
ADD COMMENT
Topic
Name
9+5 =