Blog Post

The Selector With No Class

What does this selector select?

.label span:not([class]) {} 
Answer It selects a span element within an element that has a class of “label” as long as that span element does not have a class attribute.