:not()
Matches elements that don't match the selector inside.
What does :not() do?
:not() matches elements that do not match the selector inside it.
.menu li:not(:last-child) { border-right: 1px solid #ccc; }
Level: Freelancer · More CSS terms at this level
Updated