Jul 22, 2017 · 1 min read
.facebook li:not(:last-child):not(:first-child):not(.facebook__search)My bad Gurpreet Grewal . The selector targets EVERY llist li in the class, .facebook . i.e .facebook li
BUT…
The selector will exclude the last list item li:not(:last-child) The selector will also EXCLUDE the the first list item li:not(:first-child)
Finally, the selector will exclude the list with the class, .facebook__search
In Summary…
The code says, “Select every list apart from the ones stated above “
