Add menu background
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user