File tree 2 files changed +21
-1
lines changed
myWork/03-CSS-Fundamentals
2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 9
9
< body >
10
10
< div class ="container ">
11
11
< header class ="main-header ">
12
- < h1 class ="title-text "> 📘 The Code Magazine</ h1 >
12
+ < h1 class ="title-text "> 📘The Code Magazine</ h1 >
13
13
14
14
< nav >
15
15
< a href ="blog.html " target ="_blank "> Blog</ a >
Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ strong {
142
142
143
143
.article-header {
144
144
font-size : 40px ;
145
+
146
+ position : relative;
145
147
}
146
148
147
149
.product-article {
@@ -163,3 +165,21 @@ strong {
163
165
bottom : 0 ;
164
166
right : 0 ;
165
167
}
168
+
169
+ .title-text ::first-letter {
170
+ font-style : normal;
171
+ }
172
+
173
+ .article-header ::after {
174
+ content : "TOP" ;
175
+ background-color : # ffe70e ;
176
+ font-size : 12px ;
177
+ font-weight : bold;
178
+ color : black;
179
+
180
+ display : inline-block;
181
+ position : absolute;
182
+ padding : 3px 7px ;
183
+ top : -5px ;
184
+ right : -5px ;
185
+ }
You can’t perform that action at this time.
0 commit comments