-
Bootstrap实战—成长平台(栅格布局)
-
目标布局
-
我的布局:不含JS和CSS特效
-
我的代码
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>融职教育</title>
<!--移动设备优先-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--引入Bootstrap CSS-->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- 引入CSS Swiper插件 -->
<link rel="stylesheet" href="css/swiper.min.css">
<!--引入手风琴CSS-->
<link rel="stylesheet" href="css/style.css">
<!--引入 Dplayer css-->
<link rel="stylesheet" href="css/DPlayer.min.css">
</head>
<body>
<!-- 成长平台开始 -->
<section class="B-area mt-3 d-none d-lg-flex">
<div class="container">
<div class="row">
<div class="col-12">
<div>
<h4 class="d-inline-block">成长平台</h4><small class="text-muted pl-2">浸入到开发组中实习,在工作中学技术涨经验</small>
</div>
</div>
</div>
<div class="row">
<div class="col-1 rounded text-white text-center m-2 p-1 " style="background: url('images/h1.jpg');">
<small>按职业划分<br>技术模块<br>【1】</small>
</div>
<img src="images/jtr.png" alt="" class="mt-5" style="height: 15px;">
<div class="col-1 rounded text-white text-center m-2 p-1" style="background: url('images/h2.jpg');">
<small>参与项目<br>模块开发<br>【1】</small>
</div>
<img src="images/jtr.png" alt="" class="mt-5" style="height: 15px;">
<div class="col-1 rounded text-white text-center m-2 p-1 pt-3" style="background: url('images/h3.jpg');">
<small style="font-size: 14px;font-weight: 900;">... ...</small>
</div>
<img src="images/jtr.png" alt="" class="mt-5" style="height: 15px;">
<div class="col-1 rounded text-white text-center m-2 p-1" style="background: url('images/h1.jpg');">
<small>按职业划分<br>技术模块<br>【N】</small>
</div>
<img src="images/jtr.png" alt="" class="mt-5" style="height: 15px;">
<div class="col-1 rounded text-white text-center m-2 p-1" style="background: url('images/h2.jpg');">
<small>参与项目<br>模块开发<br>【N】</small>
</div>
<img src="images/jtr.png" alt="" class="mt-5" style="height: 15px;">
<div class="col rounded text-white text-center m-2 p-1 pt-3" style="background: url('images/h2.jpg');">
<small >【智校云】产品研发部<br>开源项目研发部</small>
</div>
</div>
<div class="row">
<div class="col-1 text-center mx-1 p-1">
<img src="images/jts.png" alt="" style="height: 15px;">
<div class="rounded text-white mt-1" style="background: url('images/h1.jpg');height: 180px;width: 95px;">
<p class="small"><br><br>知<br>识<br>闯<br>关</p>
</div>
<img src="images/jts.png" alt="" style="height: 15px;">
<div class="rounded-circle text-white mt-2" style="background: url('images/h5.jpg');height:80px;width: auto;">
<p class="small p-2">入职<br>安排任务<br>指导</p>
</div>
</div>
<div class="col-2 small" >
<div style="margin-top: 100px;margin-left: 45px" class="w-100">
<div>
<p class="ml-5">海量学习资源</p>
<p class="ml-3">定制学习规划</p>
<p class="ml-0">大牛一对一身边指导</p>
<p class="ml-3">闯关式学习任务</p>
<p class="ml-5">可调解学习节奏</p>
</div>
</div>
</div>
<div class="col" style="background:url(images/ldot.png) no-repeat;height: 300px;width: auto;margin-top: 55px;">
<div class="rounded-circle " style="background: url('images/h1.jpg');height: 250px;width: 250px;margin-left: 20px;">
<div class="rounded-circle" style="position:relative; background:white url('images/lmonkey.png') no-repeat center;height: 120px;width: 120px;margin-left: 50px;top:70px;left:20px;"></div>
</div>
</div>
<div class="col">
<div class="rounded-circle " style="background: url('images/h2.jpg');height: 250px;width: 250px;margin-top: 60px;margin-left: -30px; ">
<div class="rounded-circle" style="position:relative; background: white url('images/zxy.png') no-repeat center;height: 120px;width: 120px;margin-left: 50px;top:70px;left:20px;">
<a href="https://www.lmonkey.com"></a>
</div>
</div>
</div>
<!--注意图放在背景里面了-->
<div class="col-2 small" style="position:relative;background:url(images/rdot.png) no-repeat;height: 300px;width: auto;margin-top: 55px;margin-right: 100px;">
<div style="margin-top: 45px;margin-left: 40px;" class="w-100">
<p class="ml-0">浸入真实项目开发组中</p>
<p class="ml-2">开发真实商业上线项目</p>
<p class="ml-3">技术总监带队一起开发</p>
<p class="ml-2">团队合作开发</p>
<p class="ml-0">全套技能掌握</p>
</div>
</div>
<div class="col-1 text-center mx-1 p-1">
<img src="images/jtx.png" alt="" style="height: 15px;">
<div class="rounded text-white mt-1" style="background: url('images/h2.jpg');height: 180px;width: 95px;">
<p class="small py-5">外包项目<br>开发组<br>人员<br>离岸外包<br>驻场开发</p>
</div>
<img src="images/jtx.png" alt="" style="height: 15px;">
<div class="rounded-circle text-white mt-2" style="background: url('images/h4.jpg');height:80px;width: auto;">
<p class="small py-3">就业指导<br>跳槽</p>
</div>
</div>
</div>
<div class="row shadow pt-2 rounded-circle border border-info mt-4"></div>
</div>
</section>
<!-- 成长平台结束 -->
<!--引入jQuery, 再引入poppper.js 最后再引入Bootstrap.js-->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.bundle.js"></script>
</body>
</html>