-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (43 loc) · 939 Bytes
/
Copy pathstyle.css
File metadata and controls
46 lines (43 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**Una regla css consta de dos partes:
1) el selector
2) el bloque de declaraciones
atributo:valor*/
/* el @import url() es mala práctica porque es bloqueante a la hora que el navegador lee los documentos*/
@import url('otro-style.css');
html {
scroll-behavior: smooth;;
}
body {
background-color:white;
margin-left: 10px;
}
a {
margin: 3px;
}
h2:target{color: #f00;}
.css-curso {color:#00f;}
/* El estilo (style) en línea es el que predomina; le sigue el estilo interno, y el final es el externo */
h1{color: red;
border: 3px;
border-color: red;
border-style: solid;
}
#box{color: #f50;
border: 3px;
border-style: solid;
border-color: blue;
width: 200px;
height: 200px;
}
h2{color: #0f0;}
#texto{color: #00f;}
/* un ejemplo con el texto 32.*/
.texto32{
font-size: 32px;
color: yellow;
}
#etiquetas-basicas{
color: #0f5;
}
.bg-blue{background-color: blue;}
.otro{font-style: ;}