Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bootstrap.css vs bootstrap.js which one should I use? [closed]

What is the difference between these two. I downloaded bootstrap.zip and I got both css and js files. Which one should I include in html?

If I include bootstrap.css, will it affect my own app.css? How to make use of both bootstrap.css and my own app.css together?

As I was totally unaware of how to use css and js in HTML, I asked this question. But now I have understood that I need to include both bootstrap.css and bootstrap.js in my index.html. I also have figured out how to use them.

like image 952
exAres Avatar asked Sep 24 '13 09:09

exAres


People also ask

When should I use Bootstrap vs CSS?

So as a general rule 'content out' is for Bootstrap and 'layout in' is for CSS Grid. If we want to control the layout in either row or column direction, then we should go for Bootstrap's Flexbox-based grid. On the other hand, you should opt for CSS Grid if you want layout control on both row and column.

What version of Bootstrap should I use?

Bootstrap 3 is the most stable version of Bootstrap, and it is still supported by the team for critical bugfixes and documentation changes.

Is Bootstrap JavaScript or CSS?

Bootstrap is the most popular CSS Framework for developing responsive and mobile-first websites.

Do I need JavaScript for Bootstrap?

All Bootstrap's JavaScript files depend on util. js and it has to be included alongside the other JavaScript files. If you're using the compiled (or minified) bootstrap. js , there is no need to include this—it's already there.


1 Answers

You have two differents bootstrap lib. One with CSS and one with JS.

The CSS lib contain base of bootstrap style : http://getbootstrap.com/2.3.2/base-css.html

And the js contain some graphics components and animations : http://getbootstrap.com/2.3.2/components.html

like image 151
Donovan Charpin Avatar answered Sep 19 '22 07:09

Donovan Charpin