DEV Community

Discussion on: Do you use the :not() pseudo-class?

Collapse
 
khejit68 profile image
khejit68

I meant I write the same stuff as your example:

ul li:not(:last-child) {
border-bottom: 1px solid silver;
}