Undo button styles for buttons with a class attribute
FrDH opened this issue · comments
Really nice usage of the [class]
attribute :)
In my project, I added one for removing button styles from buttons with a class attribute.
button[class] {
padding: 0;
margin: 0;
border: none;
line-height: inherit;
color: inherit;
background: none;
}
I was thinking of adding button styles like this, but I decided to keep it out in favour of keeping the reset as tiny as possible.
If and when it’s <button>
time, I tend to add this sorta CSS right on the component instead.
So, with that said, I’ll keep this stuff out for now 🙂