CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
jackfrued

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: jackfrued/Python-100-Days
Path: blob/master/Day21-30/code/new/web1901/css/style.css
Views: 729
1
/* 通配符选择器 */
2
* {
3
margin: 0;
4
padding: 0;
5
}
6
/* 标签选择器 */
7
h1 {
8
width: 960px;
9
height: 40px;
10
margin: 5px auto;
11
}
12
/* 类选择器 */
13
.a {
14
background-color: red;
15
}
16
.b {
17
background-color: orange;
18
}
19
.c {
20
background-color: yellow;
21
}
22
.d {
23
background-color: green;
24
}
25
.e {
26
background-color: cyan;
27
}
28
.f {
29
background-color: blue;
30
}
31
.g {
32
background-color: purple;
33
}
34
.h {
35
color: blue;
36
text-align: center;
37
width: 100px;
38
height: 38px;
39
overflow: hidden;
40
}
41
.big {
42
font-size: 32px;
43
}
44
.normal {
45
font-size: 18px;
46
}
47
.small {
48
font-size: 12px;
49
}
50
/* ID选择器 */
51
#header, #footer {
52
width: 800px;
53
height: 120px;
54
border: 1px solid red;
55
margin: 10px auto;
56
}
57