-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
67 lines (56 loc) · 858 Bytes
/
main.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
/* Organizando las cajas*/
.contenedor {
position: relative;
}
.caja_1 {
float: left;
margin-left: 50px;
}
.caja_2 {
float: left;
margin-left: 50px;
}
/*Armando la caja 1*/
.roja {
width: 250px;
height: 250px;
background-color: crimson;
position: relative;
}
.morada {
width: 125px;
height: 125px;
background-color: rebeccapurple;
position: absolute;
left: 62.5px;
top: 62.5px;
}
.amarilla {
width: 62.5px;
height: 62.5px;
background-color: yellow;
position: absolute;
left: 62.5px;
top: 62.5px;
}
/* Armando la caja 2 */
.azul {
width: 250px;
height: 250px;
background-color: darkblue;
position: relative;
}
.verde {
width: 125px;
height: 125px;
background-color: limegreen;
position: absolute;
left: 62.5px;
top: 62.5px;
}
.negra {
width: 62.5px;
height: 62.5px;
background-color: black;
position: absolute;
}