add button click effect

This commit is contained in:
Alfred Melch 2019-12-15 01:08:42 +01:00
parent 764839d62a
commit 1f8b04c056

View File

@ -1,4 +1,5 @@
.svgButton { .svgButton {
position: relative;
display: inline-block; display: inline-block;
border: none; border: none;
border-radius: 2px; border-radius: 2px;
@ -21,6 +22,10 @@
outline: 2px dashed #17171d; outline: 2px dashed #17171d;
} }
.svgButton:active {
top: 1px;
}
.svgButton:hover svg { .svgButton:hover svg {
transform: scale(1.1); transform: scale(1.1);
} }