With what files should I use the link tag with BootStrap?

2

I'm studying about the Twitter Bootstrap and I have a question: what files should I use with the <link> tag? Are all files or just some specific files?

    
asked by anonymous 18.03.2014 / 14:03

2 answers

2

Only these should serve:

<link href="bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="bootstrap-theme.css" rel="stylesheet" type="text/css" />
<script src="bootstrap.min.js" type="text/javascript"></script>

With this you reference not only the css bootstrap, as well as the theme you might make an overload, but also the js file that will allow the use of javascript functions!

    
18.03.2014 / 18:05
3

You can only include bootstrap.min.css , bootstrap-theme.min.css is optional, in case you want to take advantage of some styles from a standard theme, or in case you want to edit it and create a custom theme.

NOTE: If you install via bower or clone the repository, you have the option to use LESS and include only the files for the modules you are using.

    
18.03.2014 / 14:13