This commit is contained in:
Blue 2018-11-19 18:06:01 +03:00
parent 0fd0f69afe
commit dc51946fee
2 changed files with 6 additions and 5 deletions

View File

@ -31,11 +31,11 @@ button:hover {
overflow: hidden;
background-color: white;
transform: none;
-webkit-transition: transform 0.2s;
-moz-transition: transform 0.2s;
-ms-transition: transform 0.2s;
-o-transition: transform 0.2s;
transition: transform 0.2s;
-webkit-transition: transform 0.2s ease-out;
-moz-transition: transform 0.2s ease-out;
-ms-transition: transform 0.2s ease-out;
-o-transition: transform 0.2s ease-out;
transition: transform 0.2s ease-out;
}
.panel.hidden {

View File

@ -5,6 +5,7 @@ class Panel extends UI {
super(document.createElement("div"), width, height);
this._hidden = true;
this.element.classList.add("panel");
this.element.classList.add("shadow");
this.element.classList.add("hidden");
}