很简单的一个用法,下拉列表设置display:none; 点击对应的标签后,去掉display:none;就显示了,需要一点点JavaScript
2017-10-24
一个很重要的思想——渐进式增强;我们需要一个斑马线效果的表格,不需要从头到尾的写一遍,只需要在基础表格的基础上,再进行样式补充,虽然每次都要先引用基础的样式,但是,确实很灵活的,即使有的浏览器不支持你的高级样式,但至少还有基础样式保底呢
2017-10-24
<script src='https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js'></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
2017-10-23
<script src='https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js'></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
2017-10-23
<div class='alert alert-success'>操作正确</div>
<div class='alert alert-info'>不错的成绩</div>
<div class='alert alert-danger'>小心被电死</div>
<div class='alert alert-info'>不错的成绩</div>
<div class='alert alert-danger'>小心被电死</div>
2017-10-23
<div class="label label-default">aaaaa</div>
<div class="label label-info">bbbbbb</div>
<div class="label-success label">ccccccccc</div>
<div class="label-danger label">ddddddddd</div>
<div class="label label-primary">eeeeeeeeee</div>
<div class="label label-warning">eeeeeeeeee</div>
<div class="label label-info">bbbbbb</div>
<div class="label-success label">ccccccccc</div>
<div class="label-danger label">ddddddddd</div>
<div class="label label-primary">eeeeeeeeee</div>
<div class="label label-warning">eeeeeeeeee</div>
<script src='https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js'></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
2017-10-23