Build a bootstrap webpage in 5 minutes and build a bootstrap webpage
If you are fast enough, it does not take 5 minutes or 1 minute.
First, create a blank index.html file and copy the following code:
<!DOCTYPE html>
Use Google Chrome (my version is 40.0.2214.94 m), firefox (35.0.1), 360 (7.1.1.529), and ie8 (8.0.0.6001) respectively, except for ie8, the other three browsers are basically the latest version (7.1.1.556 is the latest version 360), as shown in. As you can see, except for ie8, there are no problems with the other three browsers, and the style is very beautiful. When you zoom in or out, the system will automatically respond to the size. IE8 certainly won't work. It's too old. I'll use it to see what it works.
Narrow down firefox, for example:
Notes:
1. Here, only bootstrap-combined.min.css of bootstrapis used, which is a very simple example;
2. Introduction of bootstrap-combined.min.css. cdn is used here. Of course, you can also download the entire bootstrap to a local directory and then introduce it;
3366bootstrap-combined.min.css must be introduced before the custom <style type = 'text/css '> on your page. If it is placed behind it, the style will be overwritten;
4. When cdn is introduced, it must be http: // netdna. I checked the source code directly from the original address, only // netdna (I do not know whether the browser is faulty). I cannot try it locally without http;
5. the style of the TAB title "HOME" should be class = 'navbar-inner nav-collapse', and then a Chinese translation article is written as class = 'nav-collapse ', yes;
6. The latest version is 3.3.2. In this example, Version 2.3 is used. Please note that.
The original address of the page: http://www.revillwebdesign.com/demos/bootstraptutorial /#
Source code Web site: https://github.com/RevillWeb/bootstrap-tutorial
Build the description of the web page original address: http://www.revillweb.com/tutorials/bootstrap-tutorial/
Address of reference Chinese Translation: http://www.w3cplus.com/css/twitter-bootstrap-tutorial.html
2015.2.17