Learn css specificity If there are two or more CSS rules that | Web design & 😃 development
Learn css specificity
If there are two or more CSS rules that point to the same element, the selector with the highest specificity value will "win", and its style declaration will be applied to that HTML element.Think of specificity as a score/rank that determines which style declaration are ultimately applied to an element.