File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ <h4>Related posts</h4>
122
122
width ="75 "
123
123
width ="75 "
124
124
/>
125
+ < button class ="like-btn "> ❤️Like</ button >
125
126
< a href ="# "> How to Learn Web Development</ a >
126
127
< p class ="related-authors "> By Jonas Schmedtmann</ p >
127
128
</ li >
Original file line number Diff line number Diff line change 5
5
}
6
6
7
7
body {
8
+ /* position: relative; */
8
9
color : # 444 ;
9
10
font-family : sans-serif;
10
11
@@ -86,6 +87,7 @@ aside {
86
87
}
87
88
88
89
.container {
90
+ position : relative;
89
91
width : 700px ;
90
92
/* margin-left: auto;
91
93
margin-right: auto; */
@@ -176,3 +178,21 @@ nav {
176
178
width : 100% ;
177
179
height : auto;
178
180
}
181
+
182
+ nav a : link {
183
+ padding-right : 30px ;
184
+ }
185
+
186
+ .like-btn {
187
+ position : absolute;
188
+
189
+ font-size : 20px ;
190
+ padding : 20px ;
191
+ margin : 10px ;
192
+ cursor : pointer;
193
+
194
+ /* top: 0;
195
+ left: 0; */
196
+ bottom : 0 ;
197
+ right : 0 ;
198
+ }
You can’t perform that action at this time.
0 commit comments