File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ <h2>The Basic Language of the Web: HTML</h2>
49
49
width ="500 "
50
50
height ="200 "
51
51
/>
52
+
53
+ < button > ❤️ Like</ button >
52
54
</ header >
53
55
54
56
< p >
Original file line number Diff line number Diff line change 13
13
border-top : 10px solid # 1098ad ;
14
14
color : # 444444 ;
15
15
font-family : sans-serif;
16
+ position : relative;
16
17
}
17
18
18
19
article {
29
30
text-transform : uppercase;
30
31
}
31
32
33
+ h1 ::first-letter {
34
+ font-style : normal;
35
+ margin-right : 5px ;
36
+ }
37
+
32
38
h2 {
33
39
font-size : 40px ;
34
40
margin-bottom : 30px ;
41
+ position : relative;
42
+ }
43
+
44
+ h2 ::after {
45
+ background-color : # ffe70e ;
46
+ color : # 444444 ;
47
+ content : "TOP" ;
48
+ display : inline-block;
49
+ font-size : 16px ;
50
+ font-weight : bold;
51
+ padding : 5px 10px ;
52
+ position : absolute;
53
+ right : -25px ;
54
+ top : -10px ;
35
55
}
36
56
37
57
h3 {
51
71
margin-bottom : 50px ;
52
72
}
53
73
74
+ h3 + p ::first-line {
75
+ /* color: red */
76
+ }
77
+
54
78
ul , ol {
55
79
margin-left : 50px ;
56
80
margin-bottom : 20px ;
@@ -123,6 +147,15 @@ nav {
123
147
font-size : 18px ;
124
148
}
125
149
150
+ button {
151
+ bottom : 50px ;
152
+ cursor : pointer;
153
+ font-size : 22px ;
154
+ padding : 20px ;
155
+ position : absolute;
156
+ right : 50px ;
157
+ }
158
+
126
159
/* ul {
127
160
list-style: none;
128
161
} */
@@ -146,6 +179,7 @@ nav {
146
179
147
180
.container {
148
181
margin : 0 auto;
182
+ /* position: relative; */
149
183
width : 800px ;
150
184
}
151
185
You can’t perform that action at this time.
0 commit comments