Skip to content

Commit 26c632f

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
debugging
1 parent 9830c91 commit 26c632f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ footer p {
7171
}
7272

7373
nav a:link {
74+
font-size: 18px;
7475
margin: 10px;
7576
margin-top: 10px;
7677
display: inline-block;
@@ -183,3 +184,23 @@ a:active {
183184
bottom: 50px;
184185
right: 50px;
185186
}
187+
188+
h1::first-letter {
189+
font-style: normal;
190+
margin-right: 5px;
191+
}
192+
h2 {
193+
position: relative;
194+
}
195+
h2::after {
196+
position: absolute;
197+
content: "TOP";
198+
background-color: #ffe70e;
199+
font-size: 16px;
200+
font-weight: bold;
201+
padding: 5px 10px;
202+
display: inline-block;
203+
right: -25px;
204+
top: -5px;
205+
color: #444;
206+
}

0 commit comments

Comments
 (0)