feat: simple working drop down menu
This commit is contained in:
13
src/App.css
13
src/App.css
@@ -130,21 +130,16 @@ button {
|
||||
}
|
||||
|
||||
#control-panel {
|
||||
display: grid;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
margin: auto;
|
||||
gap: 16px;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
transition: display 1s ease-out 0s;
|
||||
}
|
||||
|
||||
.opened {
|
||||
max-height: 100vw;
|
||||
transition: max-height 1s ease-in;
|
||||
}
|
||||
|
||||
.closed {
|
||||
max-height: 0px;
|
||||
transition: max-height 0.5s ease-out;
|
||||
#control-panel.opened {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.control {
|
||||
|
Reference in New Issue
Block a user