加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
5-11b.html 1.96 KB
一键复制 编辑 原始数据 按行查看 历史
hsq 提交于 2023-06-21 23:15 . homework
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>例5-11b</title>
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<style type="text/css">
.a {
height: 60px;
background-color: #eee;
border:1px solid #ccc;
}
</style>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-1.11.2.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.js"></script>
<body>
<link href="bootstrap.css" rel="stylesheet">
<script src="jquery-1.11.2.min.js"></script>
<script src="bootstrap.js"></script>
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">1</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">2</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">3</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">4</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">5</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">6</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">7</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">8</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">9</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">10</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">11</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 a">12</div>
</div>
</div>
</body>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化