Answer the question
In order to leave comments, you need to log in
How to correctly override styles in scss libraries?
There are sass component libraries: bourbon, bootstrap, materialize, etc. Some of the things in them are customized through variables, while others are defined in the style itself. How would it be correct to override such things? Here I have a .btn that has a shadow in it, I want to remove it - what is the best way to do this? Doing this directly in the library seems to be not accepted, overriding it in your styles produces css code.
Answer the question
In order to leave comments, you need to log in
Only to produce code is a fee for using any frameworks
But no one bothers you, for such a small thing as a button, copy the code from the framework and correct it for yourself by making .mybutton
In my own style, of course. The source code of the library should never be touched.
It happens that the library code needs to be replaced with a new version. And all your edits will fly ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question