Add visual and vibration feedback to buttons

This commit is contained in:
Unrud 2023-04-25 01:38:51 +02:00
parent 20cea84056
commit 4285f6aa1b
3 changed files with 23 additions and 0 deletions

View file

@ -86,12 +86,18 @@ button {
font-family: "icon";
overflow: hidden;
cursor: pointer;
transition: box-shadow 0.2s ease-out;
}
button:focus {
outline: none;
}
button.click {
box-shadow: 0 0 1rem white inset;
transition: none;
}
button.top,
button.bottom,
button.left,