Problema en mi menú
Publicado por Ruben (1 intervención) el 08/07/2017 20:41:11
Hola quisiera que los rectangulos estén más juntos pero no logro hacerlo. http://imgur.com/a/WxMaH os dejo aquí el código:
este código es el básico hay más pero no creo que se necesite para ese cambio.
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
.icon {
position: absolute;
top:28%;
left: 5%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
cursor: pointer;
}
.hamburger {
width:30px;
height:6px;
background:#003d62;
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 2px 5px rgba(0,0,0,.2);
transition:.5s;
}
.hamburger:before,
.hamburger:after {
content: '';
position: absolute;
width:30px;
height: 6px;
background:#003d62;
box-shadow:0 2px 5px rgba(0,0,0,.2);
transition:.5s;
}
este código es el básico hay más pero no creo que se necesite para ese cambio.
Valora esta pregunta


0