Home > Software design >  VS Code Issue, Actually the following technique of class isn't working for me
VS Code Issue, Actually the following technique of class isn't working for me

Time:08-03

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

enter image description here

If you remove the padding and fontsize from .btn:link the button will change to the padding / fontsize u gave to .btn--small

  • Related