更改Bootstrap网格列的顺序
在Bootstrap中使用.col-*-pull-*和.col-*-push-*类来更改Bootstrap网格列的顺序-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "container-fluid">
<h1>Bootstrap Example 1</h1>
<div class = "row">
<div class = "col-sm-4 col-sm-push-8" style = "color: white;background-color:blue;">Right</div>
<div class = "col-sm-8 col-sm-pull-4" style = "color: white;background-color:orange;">Left</div>
</div>
</div>
</body>
</html>热门推荐
10 过生日祝福语简短爸爸
11 生日祝福语 简短独特潮
12 陈震离职祝福语简短
13 破五祝福语简短的
14 喜得孙子祝福语简短唯美
15 给老师新年祝福语 简短
16 婚礼酒祝福语简短大气
17 朋友买新房祝福语简短
18 对新人祝福语大全简短