CSS Specificity, Next Experience (Polaris) Themes Part 9
This is Part 9. You should start with Part 1.
CSS Specificity
I read a lot... and some of what I read is very random, and sometimes that comes in handy. One of the RSS feeds I subscribe to recently had an article on CSS Cascade Layers Vs. BEM Vs. Utility Classes: Specificity Control. Reading it gave me some nicely grounded insight into some things I had sorta figured out but didn't have names for. You dont need to go and read it unless you want a better understanding of how CSS specificity works and different ways of dealing with it (without resorting to just adding !important
everywhere).
What does this have to do with ServiceNow theming? Read on and find out...