Hide menu and show it when hitting button.
Closes https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/issues/28.
This commit is contained in:
parent
21295c7603
commit
0b3df5c93d
@ -61,6 +61,8 @@
|
|||||||
offset: $header.outerHeight()
|
offset: $header.outerHeight()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#menu").show();
|
||||||
|
|
||||||
// Menu.
|
// Menu.
|
||||||
$('#menu')
|
$('#menu')
|
||||||
.append('<a href="#menu" class="close"></a>')
|
.append('<a href="#menu" class="close"></a>')
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#menu {
|
#menu {
|
||||||
|
display:none;
|
||||||
@include vendor('transform', 'translateX(20em)');
|
@include vendor('transform', 'translateX(20em)');
|
||||||
@include vendor('transition', 'transform #{_duration(menu)} ease');
|
@include vendor('transition', 'transform #{_duration(menu)} ease');
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
Reference in New Issue
Block a user