Actually this technique isn't working for me as CSS doesn't get applied when I use this class as .btn--small in CSS. How should I fix this issue?
CodePudding user response:
Is it a problem with the low priority of .btn-small?
CodePudding user response:
The problem is that .btn:link
is overriding .btn--small
As you can see in the image
If you remove the padding and fontsize from .btn:link
the button will change to the padding / fontsize u gave to .btn--small