I have this project that’s using Bootstrap. Instead of importing the CSS and expanding the styles with my own, I’m importing the Sass styles and compiling to a single CSS file. It was upon doing so that I noticed something strange.
Bootstrap defines a button class like so (code snipped for brevity, because my focus is on the selectors):
Some of my own styles were using the Sass directive @extend for a form input button: