Bootstrap learning environment installation

Time:2021-9-8

1、<meta http-equiv="X-UA-Compatible" content="IE=edge">

Let ie run the latest rendering mode.

2、<meta name="viewport" content="width=device-width, initial-scale=1">

Initialize mobile browsing display.

  • width=device-width: make the width equal to the width of the device.
  • initial-scale=1: set the initial scale to 1, i.e. no scaling.

3、

<!--[if lt IE 9]>
      <script></script>
      <script></script>
<![endif]-->

(1)<script></script>

Ie version is lower than IE9, so that the browser supports HTML5 tags.

(2)<script></script>

Support for CSS3.

4、<script></script>

JQuery is introduced. Bootstrap does not come with jQuery.

5、<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">

Introduce basic CSS styles.

6、<script></script>

Introduce basic JS plug-ins.

Appendix:

Read the original text:https://blog.mazey.net/1919.html