since I am using BEM methodology I don't know how can I override bootstrap classes in my custom CSS file, please anybody can help?
Asked
Active
Viewed 237 times
0
-
Can you give us some more information on what you want to achieve and what you've tried so far? Add some example code ? – anderssonola Jul 02 '19 at 19:27
1 Answers
0
I'm afraid you're confusing two things.
The BEM methodology has nothing to do with overriding the Bootstrap classes
If you want to overriding Bootstrap classes, you must use one of two methods:
- class overriding using your
custom.css
css file - using Sass. For Sass, that means creating your own stylesheet that imports Bootstrap so you can modify and extend it.
You can read about it here:

kanlukasz
- 1,103
- 19
- 34