Use :nth-last-child()
to build a "quantity query" and selector elements only if there's a given number of them.
Topic: CSS โ Page 6
Learn how to select a previous sibling using CSS
:has()
.A look at the current state of modern web development showing that more technology and code don't lead to a better end user experience.
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.