File tree 2 files changed +62
-1
lines changed
starter/03-CSS-Fundamentals
2 files changed +62
-1
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
5
6
< link href ="style.css " rel ="stylesheet " />
6
7
< title > The Basic Language of the Web: HTML</ title >
7
8
</ head >
@@ -162,5 +163,8 @@ <h4>Related posts</h4>
162
163
</ p >
163
164
</ footer >
164
165
</ div >
166
+ < button > ❤️ Like</ button >
167
+ <!--HTML VALIDATOR: Para validar y encontrar errores en nuestro HTML-->
168
+ <!--DIFFCHECKER.COM para comparar códigos-->
165
169
</ body >
166
170
</ html >
Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ body {
25
25
padding-right: 40px; */
26
26
padding : 20px 40px ;
27
27
margin-bottom : 60px ;
28
- height : 80px ;
28
+ /* height: 80px; */
29
29
}
30
30
31
31
nav {
32
32
font-size : 18px ;
33
+ text-align : center;
33
34
}
34
35
35
36
.post-header {
100
101
li {
101
102
font-size : 20px ;
102
103
margin-bottom : 10px ;
104
+ /* block elements to inline elements
105
+ display: inline; */
103
106
}
104
107
105
108
/* footer p {
@@ -212,3 +215,57 @@ footer p {
212
215
width : 100% ;
213
216
height : auto;
214
217
}
218
+
219
+ /* Video 39 - line elements to block elements*/
220
+
221
+ nav a : link {
222
+ /* background-color: orangered;
223
+ margin: 20px;
224
+ padding: 20px;
225
+ display: block; */
226
+ margin-right : 30px ;
227
+ margin-top : 10px ;
228
+ display : inline-block;
229
+ }
230
+
231
+ nav a : link : last-child {
232
+ margin-right : 0 ;
233
+ }
234
+
235
+ button {
236
+ font-size : 22px ;
237
+ padding : 20px ;
238
+ cursor : pointer;
239
+ position : absolute;
240
+ /* top: 50px;
241
+ left: 50px; */
242
+ bottom : 50px ;
243
+ right : 50px ;
244
+ }
245
+
246
+ h1 ::first-letter {
247
+ font-style : normal;
248
+ margin-right : 5px ;
249
+ }
250
+
251
+ h3 + p ::first-line {
252
+ /* color: red; */
253
+ }
254
+
255
+ h2 {
256
+ /* background-color: orange; */
257
+ position : relative;
258
+ }
259
+
260
+ h2 ::after {
261
+ content : "TOP" ;
262
+ background-color : # ffe70e ;
263
+ color : black;
264
+ font-size : 16px ;
265
+ font-weight : bold;
266
+ display : inline-block;
267
+ padding : 5px 10px ;
268
+ position : absolute;
269
+ top : -10px ;
270
+ right : -25px ;
271
+ }
You can’t perform that action at this time.
0 commit comments