B
B
BonBon Slick2017-03-12 22:15:46
JavaScript
BonBon Slick, 2017-03-12 22:15:46

Bootstrap js is killing my css?

The problem is, if I include a Bootstrap script, all my custom styles break.
Why?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Dart, 2017-03-12
@BonBonSlick

Don't touch the bootstrap classes, just extend them and add your own
Make your blocks inside the bootstrap framework
Check which blocks the JS is using
Check the layout - your styles should come last

S
sochi-russia, 2017-03-12
@sochi-russia

Change the names of your classes that are collapsing.

N
Nikolay, 2017-03-12
@nickolyashka

Have you tried including bootstrap first and then writing your own styles? If you don’t want something to match by class in styles, use methodologies, then matches will definitely be reduced to 0, or, in the worst way, apply your styles in id.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question