You are on page 1of 1

Summary

CSS Class Selectors !important


• Important: Don’t use
!important in 99% of
• You can apply more than
cases
one class to an element
• You can chain selectors (e.g. Pseudo Selectors & :not
a.active,
.priority.highlighted)
• Class selectors are the • You use the same pseudo-
most-used type of CSS selectors in most cases
selectors (:hover, :active)
• Explore your possibilities to
solve edge cases with ease
• Use :not with caution but
when needed to exclude
certain elements

You might also like