Add menu background

This commit is contained in:
Willem Dantuma
2020-01-08 11:37:37 +01:00
parent c52497af59
commit d3bc921000
9 changed files with 135 additions and 88 deletions

View File

@@ -0,0 +1,17 @@
.menu-background {
display: block;
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
opacity: 0;
background-color: #000000;
transition: opacity 0s ease-out 1s;
pointer-events: none;
}
.menu-background.show {
pointer-events: all;
opacity: 0.3;
}