File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
myWork/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 99 < body >
1010 < div class ="container ">
1111 < header class ="main-header ">
12- < h1 class ="title-text "> 📘 The Code Magazine</ h1 >
12+ < h1 class ="title-text "> 📘The Code Magazine</ h1 >
1313
1414 < nav >
1515 < a href ="blog.html " target ="_blank "> Blog</ a >
Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ strong {
142142
143143.article-header {
144144 font-size : 40px ;
145+
146+ position : relative;
145147}
146148
147149.product-article {
@@ -163,3 +165,21 @@ strong {
163165 bottom : 0 ;
164166 right : 0 ;
165167}
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