.text-muted:提示,使用浅灰色(#999)
.text-primary:主要,使用蓝色(#428bca)
.text-success:成功,使用浅绿色(#3c763d)
.text-info:通知信息,使用浅蓝色(#31708f)
.text-warning:警告,使用黄色(#8a6d3b)
.text-danger:危险,使用褐色(#a94442)
.text-primary:主要,使用蓝色(#428bca)
.text-success:成功,使用浅绿色(#3c763d)
.text-info:通知信息,使用浅蓝色(#31708f)
.text-warning:警告,使用黄色(#8a6d3b)
.text-danger:危险,使用褐色(#a94442)
2017-03-17
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-info" style="width:80%"> <span class="sr-only">80% Complete</span></div>
</div>
<div class="progress-bar progress-bar-info" style="width:80%"> <span class="sr-only">80% Complete</span></div>
</div>
2017-03-17
<meta http-equiv="X-UA-Compatible" content="IE=edge"> IE 运行最新的渲染模式
<meta name="viewport" content="width=device-width,initial-scale=1"> 初始化移动浏览显示 content="width=device-width宽度等于设备宽度
jquery 先引用,bootstrap 3 不支持IE9以下的版本,IE8要引入两个JS 一个是转换HTML5标签的JS一个是让IE8支持媒体查询的语句。
<meta name="viewport" content="width=device-width,initial-scale=1"> 初始化移动浏览显示 content="width=device-width宽度等于设备宽度
jquery 先引用,bootstrap 3 不支持IE9以下的版本,IE8要引入两个JS 一个是转换HTML5标签的JS一个是让IE8支持媒体查询的语句。
2017-03-17
<!--当IE版本低于IE9 -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
这段代码没人发,手打出来,省的大家还要打
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
这段代码没人发,手打出来,省的大家还要打
2017-03-16
最新回答 / 程序猿的猫
html5shiv.min:解决ie9以下浏览器对html5新增标签的不识别,并导致CSS不起作用的问题。respond.min :让不支持CSS3 Media Query的浏览器包括IE6-IE8等其他浏览器支持查询。
2017-03-16