© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Gemma Black
I didn't know about chaining:not, but that does look more readable. Thanks for the tip:
:not(.foo, .bar){ border: 2px solid red; }
And the use case for first and last elements is actually one I would definitely have a use for 👍
Emore Ogheneyoma Lawrence
FrontEnd React JS Developer || Open Source Lover || Building Products
I am glad this article helped you. Thank you for reading too 😊