File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ <h2>The Basic Language of the Web: HTML</h2>
54
54
height ="200 "
55
55
class ="post-image "
56
56
/>
57
+
58
+ < button class ="like-button "> ❤ Like</ button >
57
59
</ header >
58
60
59
61
< p >
Original file line number Diff line number Diff line change 9
9
color : # 444 ;
10
10
font-family : sans-serif;
11
11
border-top : 10px solid # 1098ad ;
12
+ position : relative;
12
13
}
13
14
14
15
.container {
15
16
width : 800px ;
16
17
/* margin-left: auto;
17
18
margin-right: auto; */
18
19
margin : 0 auto;
20
+ /* position: relative; */
19
21
}
20
22
21
23
.main-header {
35
37
36
38
.post-header {
37
39
margin-bottom : 40px ;
40
+ /* position: relative; */
38
41
}
39
42
40
43
article {
@@ -216,6 +219,18 @@ nav a:link:last-child {
216
219
margin-right : 0 ;
217
220
}
218
221
222
+ .like-button {
223
+ font-size : 22px ;
224
+ padding : 20px ;
225
+ cursor : pointer;
226
+
227
+ position : absolute;
228
+ /* top: 50px;
229
+ left: 50px; */
230
+ bottom : 50px ;
231
+ right : 50px ;
232
+ }
233
+
219
234
/* Resolving conflicts */
220
235
# copyright {
221
236
color : yellow;
You can’t perform that action at this time.
0 commit comments