编程学习网为您整理以下代码实例,主要实现: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">
<h2>bootstrap GrID Unequal Columns</h2>
<div class = "row">
<div class = "col-sm-8" style = "background-color:green; color: white;">Column One</div>
<div class="col-sm-2" style="background-color:orange; color: white;">Column Two</div>
<div class="col-sm-2" style="background-color:gray; color: white;">Column Three</div>
</div>
</div>
</body>
</HTML>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!