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()
|
||||
});
|
||||
|
||||
$("#menu").show();
|
||||
|
||||
// Menu.
|
||||
$('#menu')
|
||||
.append('<a href="#menu" class="close"></a>')
|
||||
|
@ -21,6 +21,7 @@
|
||||
}
|
||||
|
||||
#menu {
|
||||
display:none;
|
||||
@include vendor('transform', 'translateX(20em)');
|
||||
@include vendor('transition', 'transform #{_duration(menu)} ease');
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
Reference in New Issue
Block a user