引导程序中的偏移列
偏移量用于将列推入更多的空间。要在大型显示器上使用偏移量,请使用.col-md-offset-*类。
您可以尝试运行以下代码以了解如何在Bootstrap中使用offset列-
示例
<!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 = "box">
<h1>Heading One</h1>
<div class = "row" >
<div class = "col-xs-6 col-md-offset-3" style = "background-color: #dedef8;
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
<p>This is demo text. This is demo text.</p>
</div>
</div>
</div>
</body>
</html>热门推荐
10 文案生日祝福语高级简短
11 婚礼有趣誓言祝福语简短
12 祝旅行顺利祝福语简短
13 医师节祝福语简短免费
14 新婚铺床文字祝福语简短
15 新婚贺卡老师祝福语简短
16 车队生日条幅祝福语简短
17 中考祝福语妹妹文案简短
18 莆田亲子生日祝福语简短