2 ms·
In that case, you just write button { /* your styles here */ } to set a precedent for all your future buttons.
by xigoi 3y ago
In that case, you just write
button {
/* your styles here */
}
to set a precedent for all your future buttons.
- troupo 3y agoIn that case you end up with fifteen different variations of that button, class names like "button-cta__hero__overlay" and a smattering of !importants to defeat the cascade you can't chase down
- xigoi 3y agoI've never ended up with something like this.
- withinboredom 3y agoWork in bigger teams with bespoke css. It will happen ... eventually ... without fail.