Andy Barnes
Apr 1, 2021

--

I think since you are packaging it up into one declaration, it's easier to read. Especially if the declarations aren't right next to each other in the stylesheet.

a:not(:last-child) immediately tells me that we're doing something to all the links except the last one. One hit.

--

--

Andy Barnes
Andy Barnes

Written by Andy Barnes

Front end developer who likes to design. Lover of technology, 80’s music and Dominic Toretto.

No responses yet