- specify a more specific selector, eg prefix an ID before it or prefix the nodename before the class
- assign it after the other class
- if two classes are in separate files, import the priority file second
- !important
!important
is the lazy way, but you really should go for #1 to avoid important-ception. Once you’ve added one !important
you can’t use it to make some other rule even more important.