开班信息

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>开班信息</title>

<link rel="stylesheet" type="text/css" href="css/1.css">

</head>

<body>

<div class="outer">

<div class="title">

<a href="#">18年面授开班计划</a>

<h3>近期开班</h3>

</div>

<div class="content">

<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>

<a class="right" href="#"><span class="red-font">无座,名额爆满</span></a>

<a href="#">开班时间:<span class="red-font">2018-03-23</span></a>

<li>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:2018-01-23</a>

<li>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:2017-12-20</a>

<li>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:2017-11-18</a>

</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>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:<span>2018-03-23</span></a>

<li>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:2018-01-23</a>

<li>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:2017-12-20</a>

</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>

<a class="right" href="#"><span>开班盛况</span></a>

<a href="#">开班时间:<span>2018-01-23</span></a>

</div>

</div>

</body>

CSS样式代码:

/*清除默认样式*/

*{

margin: 0;

padding: 0;

}

/*同意页面中的字体*/

body{

font:12px/1 宋体;

}

.outer{

width: 300px;

height: 471px;

/*background-color: #bfa;*/

/* 居中*/

margin:50px auto;

}

.title{

border-top: 2px #019e8b solid;

height: 36px;

/*设置行高*/

line-height: 36px;

background-color: #f5f5f5;

padding: 0px 22px 0px 16px;

}

.title a{

float:right;

color: #ff0000;

}

.title h3{

font: 16px "微软雅黑";

}

.content{

border: 1px solid #deddd9;

padding: 0px 28px 0px 20px;

}

.content h3{

margin-top: 15px;

margin-bottom: 15px;

}

.content a{

color: black;

text-decoration: none;

font-size: 12px;

}

.content a:hover{

color: red;

text-decoration: underline;

}

.content ul{

list-style: none;

border-bottom: 1px dashed #deddd9;

}

.content .no-border{

border: none;

}

.content li{

margin-bottom: 15px;

}

.content .red-font{

color: red;

font-weight: bold;

}

.content .red-font:hover{

color: blue;

}

.content .right{

float: right;

}

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容