使用bootstrapV4.0.0,項目地址:https://github.com/JinWangQ/bootstrap-practice , 演示:https://jinwangq.github.io/bootstrap-practice/
有幫助幫我點個star (=?ω?)?
有幫助幫我點個star (=?ω?)?
2018-03-15
<head>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
</head>
<body>
<h1 class="text-center">Hello World!</h1>
<buton type="button" class="btn btn-primary center-block">我是按鈕,按我一下</buton>
</body>
</html>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
</head>
<body>
<h1 class="text-center">Hello World!</h1>
<buton type="button" class="btn btn-primary center-block">我是按鈕,按我一下</buton>
</body>
</html>
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
最新回答 / _蟄伏
樓主 id="menu-nav" 但是? data-target="#bs-example-navbar-collapse-1" 兩者不一致,所以效果沒出來,把data-target="#bs-example-navbar-collapse-1" 改成 data-target = "#menu-nav" 即可<...圖片...>
2018-01-26