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?
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?
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!
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.