作业——时间表

作业:我们可以简单的做一个时间表!
css中的代码

.w{
	height: 780px;
	background-color: #999;
	overflow: hidden;
	zoom: 1;
	margin:0 auto;
}
.warp{
	width: 310px;
	height: 480px;
	background-color: white;
	margin: 30px auto;
	overflow: hidden;
	zoom: 1;
}
.center{
	width: 300px;
	height: 470px;
	margin-top: 5px;
	border: 1px solid #deddd9;
	margin: 5px auto;
}
.top{
	width: 300px;
	border-top: 2px solid #019e8b;
	float: left;
}
.nav{
	width: 300px;
	height: 25px;
	background-color: #f5f5f5;
	float: left;
}
.n_l{
	width: 65px;
	height: 20px;
	margin-left: 20px;
	margin-top: 3px;
	color: #000;
	float: left;
}
.n_r{
	width: 100px;
	height: 14px;
	margin-left: 100px;
	margin-top: 5px;
	font-size: 12px;
	float: left;
}
.n_r a{
	color: red;
}
.n_r:hover{
	position: relative;
	right: 0.5px;
	bottom: 0.5px;
}

/*人工智能+python全栈*/
.box1{
	width: 255px;
	height: 165px;
	border-bottom: 1px dashed grey;
	margin-left: 20px;
	margin-top: 20px;
	float: left;
}
.b_title{
	width: 100%;
	height: 28px;
	font-size: 11px;
	float: left;
	font-weight: bold;
}
.box_time{
	width: 100%;
	height: 26px;
	float: left;
}
.b_time{
	width: 55px;
	height: 16px;
	float: left;
	font-size: 10px;
}
.b_time2{
	width: 55px;
	height: 16px;
	color: red;
	float: left;
	font-size: 10px;
	text-align: center;
	line-height: 16px;
	font-weight: bold;
}
.b_yuyue{
	width: 90px;
	height: 15px;
	margin-left: 40px;
	font-size: 10px;
	font-weight: bold;
	float: left;
	text-align: right;
}
.b_yuyue a{
	text-decoration: none;
	color: red;
}
.b_yuyue:hover{
	position: relative;
	right: 0.5px;
	bottom: 0.5px;
}
/*开班盛况*/
.b_time22{
	width: 55px;
	height: 16px;
	float: left;
	font-size: 10px;
	text-align: center;
	line-height: 16px;
	font-weight: bold;
}
.b_yuyue2{
	width: 90px;
	height: 15px;
	margin-left: 40px;
	font-size: 10px;
	font-weight: bold;
	float: left;
	text-align: right;
}
.b_yuyue2 a{
	text-decoration: none;
	color: black;
}
.b_yuyue2:hover{
	position: relative;
	right: 0.5px;
	bottom: 0.5px;
}

/*安卓开发+测试*/
.box2{
	width: 255px;
	height: 130px;
	border-bottom: 1px dashed grey;
	margin-left: 20px;
	margin-top: 20px;
	float: left;
}
.box3{
	width: 255px;
	height: 75px;
	border-bottom: 1px dashed grey;
	margin-left: 20px;
	margin-top: 20px;
	float: left;
}

html中的代码

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>北京财经近期开班事宜</title>
	<link rel="stylesheet" href="time.css">
</head>
<body>
	<div class="w">
		<div class="warp">
			<div class="center">
				<div class="top"></div>
				<div class="nav">
					<div class="n_l">近期开班</div>
					<div class="n_r">
						<a href="#" target="_black">18年面授开班计划</a>
					</div>
				</div>
				<div class="box1">
					<div class="b_title">人工智能+Python-高薪就业班</div>
					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time2">2018-04-26</div>
						<div class="b_yuyue"><a href="#" target="_black">预约报名</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time2">2018-03-23</div>
						<div class="b_yuyue"><a href="#" target="_black">无座,名额爆满</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2018-01-23</div>
						<div class="b_yuyue2"><a href="#"  target="_black">开班盛况</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2018-12-20</div>
						<div class="b_yuyue2"><a href="#"  target="_black">开班盛况</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2017-11-18</div>
						<div class="b_yuyue2"><a href="#"  target="_black">开班盛况</a></div>
					</div>
				</div>
				<div class="box2">
					<div class="b_title">Android+测试-高薪就业班</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time2">2018-04-26</div>
						<div class="b_yuyue"><a href="#" target="_black">预约报名</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2018-03-23</div>
						<div class="b_yuyue2"><a href="#" target="_black">开班盛况</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2018-01-23</div>
						<div class="b_yuyue2"><a href="#" target="_black">开班盛况</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2017-12-20</div>
						<div class="b_yuyue2"><a href="#" target="_black">开班盛况</a></div>
					</div>
				</div>
				<div class="box3">
			
					<div class="b_title">Android+测试-高薪就业班</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time2">2018-04-26</div>
						<div class="b_yuyue"><a href="#" target="_black">预约报名</a></div>
					</div>

					<div class="box_time">
						<div class="b_time">开班时间:&nbsp;</div>
						<div class="b_time22">2018-01-23</div>
						<div class="b_yuyue2"><a href="#" target="_black">开班盛况</a></div>
					</div>
				</div>
			</div>
		</div>
	</div>


	
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值