引导网格堆叠到水平网格
您可以尝试运行以下代码以在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">
<h1>Grid</h1>
<div class = "row">
<div class = "col-sm-6" style = "background-color:blue; color: white">
This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text.
</div>
<div class = "col-sm-6" style = "background-color:red; color: white">
This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text.
</div>
</div>
</div>
</body>
</html>热门推荐
10 手写母亲的祝福语简短
11 整形机构开业祝福语简短
12 文艺结婚祝福语短语简短
13 对离岗同事祝福语简短
14 回家长的祝福语简短
15 生日涂鸦祝福语简短英文
16 大厦动工祝福语简短精辟
17 月子小孩祝福语大全简短
18 周年庆典祝福语致辞简短