nth
オブジェクトのグループ内の 3 つの要素ごとに 1 つを選択する方法を理解しようとしています。
マークアップが次のように構成されている場合:
<div class="all-items">
<div class="block">
<a href="the-link">
<div class="image-list">
<div class="drop-shadow curved curved-hz-1">
<img src="an-image.png" />
</div>
</div>
</a>
</div>
<!-- then this repeats to show all the images -->
<div class="block">
<a href="the-link">
<div class="image-list">
<div class="drop-shadow curved curved-hz-1">
<img src="an-image.png" />
</div>
</div>
</a>
</div>
<!-- ... etc. -->
</div> <!-- end div class "all-items" -->
img
内部の画像のグループで3番目ごとに選択するにはどうすればよい<div class="all-items">
ですか?