Home › Forums › CSS › Is it possible to ignore a specific style on style sheet for a specific page? › Re: Is it possible to ignore a specific style on style sheet for a specific page?
February 12, 2013 at 12:46 am
#124156
__
Participant
I would suggest that you’re falling into a trap: you’ve got a rule that is too general (it applies to *all* input [button]s, but you don’t *want* it to apply to all of them). You’re fighting a specificity war, and it creates bloated, fragile CSS.
Instead of adding a class or id to the input(s) that should be excluded, you should take the opposite approach and add a class to all the other input(s) that should be *included*: