r/WebdevTutorials • • Dec 17 '20

Bootstrap is hard (!?)

For someone who knows an average amount of HTML & CSS (and a little bit of JS) I find it kinda hard to integrate bootstrap in my website. Am I the only one facing issues?

I know it's supposed to make my work easier, but when I apply my own CSS properties, it messes up the bootstrap elements & classes, and I find it almost impossible to debug it.

Do you have a hack/special way of dealing with bootstrap? And normal CSS?

37 Upvotes

26 comments sorted by

View all comments

2

u/agitatedhoneybadger Dec 17 '20

Could you give an example of what you are trying to do or a codepen? It would make it easier to help.

1

u/SadSenpai420 Dec 17 '20

I started off with lots of basic html & css (hence I have a lot of sub divided files, making it hard to bring it together on codepen)

But basically, I was trying to add carousel before my footer and it just wouldn't work for the love of God

I did temper with a lot of styles for the container classes, so that's possibly the issue

1

u/agitatedhoneybadger Dec 17 '20 edited Dec 17 '20

I can guarantee that changing the styles or, specifically, the class names will cause issues.

So, I don't know how it is broken but, I can try to help with that. I made a codepen so you can see it working.

https://codepen.io/adamfarver/pen/wvzdVro

Hope it helps. I don't know whether it was not scrolling or what is happening. But take a look.

Edit: you can overwrite class appearance properties but that’s it. Hopefully, that clears some things up.