Quantity Queries for CSS

This was just awesome:

Things get interesting when concatenating :nth-last-child(6) with :first-child, introducing a second condition. In this case, I am looking for any element that is both the sixth element from the end and the first element.

Selects a members of a set if that set contains exactly six objects. Mind blown.

Quantity Queries for CSS

Leave a comment