Bootstrap 五列布局

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.col-xs-1-5,.col-sm-1-5,.col-md-1-5,.col-lg-1-5 {
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
position: relative;
}

.col-xs-1-5 {
width: 20%;
float: left;
}

@media screen and (min-width: 768px) {
.col-sm-1-5 {
width: 20%;
float: left;
}
}

@media screen and (min-width: 992px) {
.col-md-1-5 {
width: 20%;
float: left;
}
}

@media screen and (min-width: 1200px) {
.col-lg-1-5 {
width: 20%;
float: left;
}
}