Skip to content

Commit 299a29e

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
boxmodel
1 parent a342c91 commit 299a29e

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
body {
2+
font-family: sans-serif;
3+
line-height: 1.4;
4+
border: 5px solid black;
5+
}
6+
7+
h2 {
8+
text-align: center;
9+
background-color: #f7f7f7;
10+
text-transform: uppercase;
11+
font-size: 22px;
12+
}
13+
14+
b {
15+
font-size: 24px;
16+
}
17+
18+
button {
19+
font-size: 26px;
20+
border: none;
21+
background-color: black;
22+
color: white;
23+
cursor: pointer;
24+
}
25+
26+
a:link {
27+
color: black;
28+
}
29+
30+
a:visited {
31+
color: black;
32+
}
33+
34+
a:hover {
35+
color: black;
36+
text-decoration: none;
37+
}
38+
39+
a:active {
40+
font-style: italic;
41+
}
42+
43+
button:hover {
44+
background-color: white;
45+
color: black;
46+
}
47+
48+
.fshi {
49+
text-transform: uppercase;
50+
color: gray;
51+
font-size: 12px;
52+
font-weight: bold;
53+
}
54+
55+
.details {
56+
list-style: square;
57+
}

0 commit comments

Comments
 (0)