Answer the question
In order to leave comments, you need to log in
How to select every third element that does not have a specific class?
There is a list:
<a href="#" class="hidden">1</a>
<a href="#" class="hidden">2</a>
<a href="#" class="hidden">3</a>
<a href="#" class="hidden">4</a>
<a href="#" class="hidden">5</a>
<a href="#" class="hidden">6</a>
<a href="#" class="hidden">7</a>
<a href="#" class="hidden">8</a>
<a href="#" class="hidden">9</a>
<a href="#" class="visible">10</a>
<a href="#" class="visible">11</a>
<a href="#" class="visible">12</a>
<a href="#" class="visible">13</a>
<a href="#" class="visible">14</a>
<a href="#" class="visible">15</a>
<a href="#" class="visible">16</a>
a:not(.hidden):nth-child(3n){
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question