.btn-group-justified > .btn, .btn-group-justified > .btn-group { width: 1%;}這里1%什么意思?
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
?display: table-cell;
?float: none;
?width: 1%;
}
這個?width: 1%;有什么作用?
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
?display: table-cell;
?float: none;
?width: 1%;
}
這個?width: 1%;有什么作用?
2014-12-13
舉報(bào)
2014-12-31
因?yàn)檫@個布局是模擬table的布局,添加一個width:1%;在此是防止沒有內(nèi)容時,造成整個布局的坍塌。
2016-02-01
不太明白。。意思是如果沒有width后面的東西就會擠上來嗎?