开班练习
2018-11-22 本文已影响0人
Stranger_I
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>\e</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
body{
font: 12px/1 宋体;
}
.ann{
width: 300px;
height: 471px;
margin: 50px auto;
}
. ann0{
border-top: 2px #019e8b solid;
height: 36px; background-color: #f5f5f5;
line-height: 36px; padding: 0px 22px 0px 16px;
}
. ann0 a{
float: right;
color: red;
}
.ann0 h3{
font: 16px/36px ;
}
.ann1{
border: 1px solid #deddd9;
padding: 0px 28px 0px 20px;
}
.ann1 a{
color: black;
text-decoration: none;
font-size: 12px;
}
.ann1 a:hover{
color: green;
text-decoration: underline;
}
.ann1 h3{
margin-top: 15px;
margin-bottom: 15px;
}
.ann1 ul{
list-style: none;
border-bottom: 1px dashed #deddd9;
}
.ann1 li{
margin-bottom: 15px;
}
.ann1 .red-font{
color: red;
font-weight: bold;
<a href="#">18年面授开班计划</a>
<h3>近期开班</h3>
</div>
}
.ann1 .right{
float:right ;
}
.content .no-border{
border: none;
}
</style>
</head>
<body>
<div class="ann">
<div class="ann0">
<a href="#">18年面授开班计划</a>
<h3>近期开班</h3>
</div>
<div class="ann1">
<h3><a href="#">人工智能+Python-高薪就业班</a></h3>
<ul>
<li>
<a class="right" href="#"><span class="red-font">预约报名</span> </a>
<a href="#">开班时间:<span class="red-font">2018-04-26</span></a>
</li>
<li>
<a class="right" href="#"><span class="red-font">无座,名额爆满</span>
</a> <a href="#">开班时间:<span class="red-font">2018-03-23</span></a>
</li>
<li>
<a class="right" href="#"><span>开班盛况</span> </a>
<a href="#">开班时间:<span>2018-01-23</span></a>
</li>
<li>
<a class="right" href="#"><span class="red-font">开班盛况</span> </a>
<a href="#">开班时间:<span class="red-font">2017-12-20</span></a>
</li>
<li>
<a class="right" href="#"><span class="red-font">开班盛况</span> </a>
<a href="#">开班时间:<span class="red-font">2017-11-18</span></a>
</li>
</ul>
<h3><a href="#">Android开发+测试-高薪就业班</a> </h3>
<ul>
<li>
<a class="right" href="#"><span class="red-font">预约报名</span> </a>
<a href="#">开班时间:<span class="red-font">2018-04-26</span></a>
</li>
<li>
<a class="right" href="#"><span class="red-font">开班盛况</span> </a>
<a href="#">开班时间:<span class="red-font">2018-03-23</span></a>
</li>
<li>
<a class="right" href="#"><span>开班盛况</span> </a>
<a href="#">开班时间:<span>2018-01-23</span></a>
</li>
<li>
<a class="right" href="#"><span class="red-font">开班盛况</span> </a>
<a href="#">开班时间:<span class="red-font">2017-12-20</span></a>
</li>
</ul>
<h3><a href="#">大数据软件开发-青芒工作室</a> </h3>
<ul class="no-border">
<li>
<a class="right" href="#"><span class="red-font">预约报名</span> </a>
<a href="#">开班时间:<span class="red-font">2018-04-26</span></a>
</li>
<li>
<a class="right" href="#"><span class="red-font">开班盛况</span> </a>
<a href="#">开班时间:<span class="red-font">2018-01-23</span></a>
</li>
</ul>
</div>
</div>
</body>
</html>