label {
cursor
:
pointer
;
}
label:focus {
outline
:
none
;
}
.menu {
position
:
absolute
;
top
:
0
;
left
:
0
;
background
:
#fff
;
width
:
240px
;
height
:
100%
;
transform
: translate
3
d(
-240px
,
0
,
0
);
transition
: transform
0.35
s;
}
.menu label.menu-toggle {
position
:
absolute
;
right
:
-60px
;
width
:
60px
;
height
:
60px
;
line-height
:
0px
;
display
:
block
;
padding
:
0
;
text-indent
:
-9999px
;
background
:
#fff
url
(https://cdn
4
.iconfinder.com/data/icons/wirecons-free-vector-icons/
32
/menu-alt
-512
.png)
50%
50%
/
25px
25px
no-repeat
;
}
.menu ul li > label {
background
:
url
(https://cdn
4
.iconfinder.com/data/icons/ionicons/
512
/icon-arrow-right-b
-128
.png)
95%
50%
/
16px
16px
no-repeat
;
}
.menu ul li a, .menu ul li label {
display
:
block
;
text-align
:
center
;
padding
:
0
20px
;
line-height
:
60px
;
text-decoration
:
none
;
color
:
#000
;
}
.menu ul li a:hover, .menu ul li label:hover {
color
:
#666
;
}
.menu-checkbox {
display
:
none
;
}
.menu .menu label.menu-toggle {
background
:
none
;
}
.menu-checkbox:checked + .menu {
transform
: translate
3
d(
0
,
0
,
0
);
}