3 ms·
That's the point that one should start paying attention to what they are introducing into the global scope. But it depends on the CSS. A global button class wi
by talmand 11y ago
That's the point that one should start paying attention to what they are introducing into the global scope.
But it depends on the CSS. A global button class will not overwrite the properties of a button class descending from a higher level class. It will only introduce new properties that are not already defined in the button that's inside the parent scope.
There are advantages to having base styles in a global class, but I agree they can get unwieldy if one doesn't have discipline with them.