-
Notifications
You must be signed in to change notification settings - Fork 0
/
练习.html
185 lines (144 loc) · 5.24 KB
/
练习.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>div</title>
<style tpye="text/css">
*{
margin: 0;
padding: 0;
}
body{
font: 12px/1宋体;
}
.outer{
width: 300px;
height: 473px;
background-color: #bfa;
margin: 50px auto;
}
.tittle{
border-top: 2px #019e8b solid ;
height:45px;
background-color: #f5f5f5;
line-height: 45px;
padding: 0px 22px 0px 16px;
}
.tittle a {
float:right;
/* 设置字体颜色*/
color: red;
}
.tittle h3{
font: 12px/45px "微软雅黑";
}
.content{
border: 2px solid #deddd9;
padding: 0px 20px 0px 28px;
}
.content .red{
color: red;
font-weight: bold;
font-size: 12px;
}
.content a{
color: black;
text-decoration:none;
font-size=12px;
}
.content .a{
color: black;
font-size: 12px;
}
.content a:hover{
color: red;
text-decoration: red;
}
.content.a:hover{
}
.content h3{
margin-top: 14px;
margin-bottom: 16px;
}
.content li{
margin-bottom: 4px;
}
.content .right{
float:right;
}
.content .rigjt{
float: right;
}
.content ul{
list-style: none;
border-bottom: 1px dashed #deddd9;
}
.content.no-border{
border-bottom: none;
}
</style>
</head>
<body>
<!--
描述:创建一个外层div
-->
<div class="outer">
<!-- = 描述:开班信息-->
<div class="tittle">
<a href="#">富坚催更猎人粉团体官网</a>
<h3>近期开班</h3>
</div>
<div class="content">
<h3><a href="#">有生之年等完结的方法</a></h3>
<ul>
<li>
<a class="right" href="#"><span class="red">爆满</span></a>
<a href="#">开班时间 <span class="red">2019-01-17</span></a>
</li>
<li>
<a class="right" href="#"><span class="red">时间爆满已无名额</span></a>
<a href="#">开班时间 <span class="red">2019-01-19</span></a>
</li>
<li>
<a class="right" href="#"><span class="a">预约报名</span></a>
<a href="#">开班时间 <span class="a">2019-01-21</span></a>
</li>
<li>
<a class="right" href="#"><span class="a">预约报名</span></a>
<a href="#">开班时间 <span class="a">2019-01-22</span></a>
</li>
</ul>
<h3><a href="#">19年猎人催更志愿者报名</a></h3>
<ul>
<li>
<a class="right" href="#"><span class="red">预约报名</span></a>
<a href="#">开班时间 <span class="red">2019-01-24</span></a>
</li>
<li>
<a class="right" href="#"><span class="red">预约报名</span></a>
<a href="#">开班时间 <span class="red">2019-01-25</span></a>
</li>
<li>
<a class="right" href="#"><span class="a">预约报名</span></a>
<a href="#">开班时间 <span class="a">2019-01-26</span></a>
</li>
<li>
<a class="right" href="#"><span class="a">预约报名</span></a>
<a href="#">开班时间 <span class="a">2019-01-27</span></a>
</li>
</ul>
<h3><a href="#">小杰什么时候可以找到爸爸</a></h3>
<ul class="no-border">
<li>
<a class="right" href="#"><span class="red">预约报名</span></a>
<a href="#">开班时间 <span class="red">2019-01-28</span></a>
</li>
<li>
<a class="right" href="#"><span class="red">预约报名</span></a>
<a href="#">开班时间 <span class="red">2019-01-29</span></a>
</li>
</ul>
</div>
</div>
</body>
</html>