最新回答 / 俊崽爱枫妞
用<thead></thead>标签吧th包裹<table class="table table-hover"> <thead> <tr> <th>表格标题</th> <th>表格标题</th> <th>表格标题</th> </tr> </thead> <tbody> ...
2018-07-12
最新回答 / 主宰灵魂
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle)选择出.btn-group下的所有子.btn,筛选出为其父的首元素的,再筛选除出不是其父的尾元素的,也就是父元素只有一个子就不行,再进一步筛选出类名不为.dropdown-toggle的.
2018-07-07
最新回答 / 好吃的蛋包饭
.caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px dashed; border-top: 4px solid \9; border-right: 4px solid transparent; border-left: 4px solid transparent;}就是画了一个倒三角形
2018-07-07
最赞回答 / 慕后端4227358
.navbar-btn {
margin-top: 8px;
margin-bottom: 8px;
}.navbar-text {
margin-top: 15px;
margin-bottom: 15px;
2018-07-06
最新回答 / 小程序魔王
<h3>Example heading<span class="label label-warning" style="border-bottom: 10px solid;border-left: .5em solid transparent;padding:0.2em 0.6em 0.3em 0.1em;">这样写怎么样?</span></h3>
2018-07-04
最赞回答 / qq_文之彬bin_eiwCL9
代码需要改改,改boostrap的样式引入<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">,例子里面多了个http
2018-06-27
最新回答 / 慕少安
将css链接地址改为
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
2018-06-26
最新回答 / Dong_Cool
<div class="navbar navbar-default" role="navigation"> <div class="navbar-header"> <!-- .navbar-toggle样式用于toggle收缩的内容,即nav-collapse collapse样式所在元素 --> <button class="navbar-toggle" type="button" data-toggle="collapse" data-...
2018-06-26