-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (61 loc) · 1.82 KB
/
Copy pathindex.html
File metadata and controls
68 lines (61 loc) · 1.82 KB
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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="./style/common.css">
<title>CSS演示</title>
</head>
<body>
<h1 class="title"><span class="main">CSS</span> 特性展示</h1>
<div class="exhibit">
<ul>
<li class="delete"><a href="./pages/selector.html">伪类选择器</a></li>
<li><a href="./pages/fakeElement.html">伪元素</a></li>
<li class="delete"><a href="./pages/bbc.html">背景边框颜色</a></li>
<li class="delete"><a href="./pages/ch.html">文字效果</a></li>
<li class="delete"><a href="./pages/trans.html">2D/3D转换</a></li>
<li><a href="./pages/margin.html">margin相关</a></li>
<li><a href="./pages/BFC.html">BFC特性</a></li>
<li><a href="./pages/clearFloat.html">清除浮动</a></li>
<li><a href="./pages/display.html">Display属性</a></li>
<li><a href="./pages/flex.html">弹性盒模型</a></li>
<li><a href="./pages/layout.html">常用布局</a></li>
<li><a href="./pages/optimize.html">性能优化</a></li>
</ul>
</div>
</body>
<style>
.exhibit ul {
display: flex;
margin-top: -10px;
padding: 0 10px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
list-style: none;
}
.exhibit a {
display: block;
text-decoration: none;
font-size: 22px;
font-weight: 200;
color: gray;
line-height: 160px;
border: 0.5px solid lightgray;
border-radius: 10px;
transition: all 0.2s;
}
.exhibit a:hover {
box-shadow: 0px 15px 30px rgb(0,0,0,0.1);
}
.exhibit li {
margin: 15px 20px;
width: 250px;
height: 160px;
text-align: center;
}
.delete {
text-decoration: line-through;
}
</style>
</html>