forked from Gdaimon/css-uniantioquia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos-box-model.css
69 lines (55 loc) · 907 Bytes
/
estilos-box-model.css
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* h1{
background: yellow;
width: 300px;
} */
a{
background: pink;
/* Shorthand */
padding: 10px;
margin: 20px;
/* width: 300px; */
/* height: 300px; */
display: inline-block;
}
.elemento{
background: yellow;
/* display: inline-block; */
padding: 20px;
/* padding: 20px 50px;
padding: 20px 50px 80px; */
/* padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px; */
margin: 60px;
}
.elemento-2{
margin-top: 100px;
}
article{
background: tomato;
}
body{
background: turquoise;
}
h1{
margin: 0;
}
.caja{
width: 300px;
/* width: 276px; */
/* height: 176px; */
height: 200px;
border: 2px solid red;
padding: 100px;
/* padding: 10px; */
/* box-sizing: border-box; */
}
/* box-sizing{
border-box
padding-box
content-box
} */
*, *:before, *:after{
box-sizing: border-box;
}