html5shiv主要解決HTML5提出的新的元素不被IE6-8識別,這些新元素不能作為父節點包裹子元素,并且不能應用CSS樣式。讓CSS 樣式應用在未知元素上只需執行 document.createElement(elementName) 即可實現。html5shiv就是根據這個原理創建的。
<div class="text-center">
<h3>Hello World!</h3>
<button class="btn btn-primary">我是按鈕,按我一下</button>
</div>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<h3>Hello World!</h3>
<button class="btn btn-primary">我是按鈕,按我一下</button>
</div>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
看完了慕課所有bootstrap視頻,做了一些總結和分析,地址:https://github.com/CruxF/IMOOC/tree/master/Bootstrap
課程最終展示效果,地址:https://cruxf.github.io/IMOOC/Bootstrap/BootBaseWeb/index3-11.html
課程最終展示效果,地址:https://cruxf.github.io/IMOOC/Bootstrap/BootBaseWeb/index3-11.html
2018-02-17
看完了慕課所有bootstrap視頻,做了一些總結和分析,地址:https://github.com/CruxF/IMOOC/tree/master/Bootstrap
課程最終展示效果,地址:https://cruxf.github.io/IMOOC/Bootstrap/BootBaseWeb/index3-11.html
課程最終展示效果,地址:https://cruxf.github.io/IMOOC/Bootstrap/BootBaseWeb/index3-11.html
2018-02-17
看完了慕課所有bootstrap視頻,做了一些總結和分析,地址:https://github.com/CruxF/IMOOC/tree/master/Bootstrap
課程最終展示效果,地址:https://cruxf.github.io/IMOOC/Bootstrap/BootBaseWeb/index3-11.html
課程最終展示效果,地址:https://cruxf.github.io/IMOOC/Bootstrap/BootBaseWeb/index3-11.html
2018-02-17
<div class="text-center">
<h3>Hello World!</h3>
<button class="btn btn-primary">我是按鈕,按我一下</button>
</div>
<h3>Hello World!</h3>
<button class="btn btn-primary">我是按鈕,按我一下</button>
</div>