File tree 2 files changed +19
-0
lines changed
starter/03-CSS-Fundamentals
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ <h2>The Basic Language of the Web: HTML</h2>
52
52
height ="200 "
53
53
class ="post-img "
54
54
/>
55
+
56
+ < button > Like 💖</ button >
55
57
</ header >
56
58
57
59
< p >
Original file line number Diff line number Diff line change 11
11
color : # 444 ;
12
12
font-family : sans-serif;
13
13
border-top : 10px solid # 1098ad ;
14
+ /* * Parent's of child with position: absolute */
15
+ position : relative;
14
16
}
15
17
16
18
.container {
19
21
/* margin-left: auto;
20
22
margin-right: auto; */
21
23
margin : 0 auto;
24
+ /* position: relative; */
22
25
}
23
26
24
27
.main-header {
@@ -40,6 +43,7 @@ article {
40
43
}
41
44
.post-header {
42
45
margin-bottom : 40px ;
46
+ /* position: relative; */
43
47
}
44
48
45
49
aside {
@@ -227,3 +231,16 @@ nav a:link {
227
231
nav a : link : last-child {
228
232
margin-right : 0px ;
229
233
}
234
+
235
+ button {
236
+ font-size : 22px ;
237
+ padding : 20px ;
238
+ cursor : pointer;
239
+ position : absolute;
240
+ /* *Position 50px from the top and 50px from the left*/
241
+ /* top: 50px;
242
+ left: 50px; */
243
+ /* *Position 50px from the bottom and 50px from the right*/
244
+ bottom : 50px ;
245
+ right : 50px ;
246
+ }
You can’t perform that action at this time.
0 commit comments