File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 42
42
}
43
43
44
44
h2 {
45
- font-size : 40 px ;
45
+ font-size : 30 px ;
46
46
margin-bottom : 30px ;
47
+ position : relative;
47
48
}
48
49
49
50
h3 {
@@ -172,6 +173,7 @@ a:active {
172
173
173
174
nav {
174
175
font-size : 18px ;
176
+ text-align : center;
175
177
}
176
178
177
179
.post-pic {
@@ -196,3 +198,29 @@ nav a:link {
196
198
bottom : 0 ;
197
199
right : 0 ;
198
200
}
201
+
202
+ h1 ::first-letter {
203
+ font-style : normal;
204
+ margin-right : 5px ;
205
+ }
206
+
207
+ p ::first-line {
208
+ /* color: red; */
209
+ }
210
+
211
+ h3 + p ::first-line {
212
+ /* color: red; */
213
+ }
214
+
215
+ h2 ::after {
216
+ content : "TOP" ;
217
+ background-color : # ffe70e ;
218
+ font-size : 16px ;
219
+ font-weight : bold;
220
+ display : inline;
221
+ padding : 5px 10px ;
222
+
223
+ position : absolute;
224
+ top : -15px ;
225
+ right : -25px ;
226
+ }
You can’t perform that action at this time.
0 commit comments