Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why use .btn and .btn-primary rather than button and button.primary? Reply To: Why use .btn and .btn-primary rather than button and button.primary?

#238810
nategreen
Participant

So, if we opted to target button, input[type="button"], input[type="submit"], a[role="button"] instead of requiring a .btn class on everything, it’s more of a preference thing rather than a scalability or performance thing?