Use :nth-last-child()
to build a "quantity query" and selector elements only if there's a given number of them.
Topic: CSS โ Page 3
Select a previous sibling using CSS
:has()
.Use the :indeterminate CSS pseudo-class to match different elements with an indeterminate state.
The text-align-last property defines the text-alignment of the last paragraph line. It can be valuable with justified text designs.