style(button): scale down a bit on touching down

This commit is contained in:
Haishan 2018-12-18 22:13:30 +08:00
parent a21cd2a258
commit 12624f6463

View file

@ -6,10 +6,14 @@
border: 1px solid #555; border: 1px solid #555;
border-radius: 100px; border-radius: 100px;
padding: 6px 12px; padding: 6px 12px;
user-select: none;
&:hover { &:hover {
background: #387cec; background: #387cec;
border: 1px solid #387cec; border: 1px solid #387cec;
color: #fff; color: #fff;
// background: darken(#555, 3%); // background: darken(#555, 3%);
} }
&:active {
transform: scale(0.97);
}
} }