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-radius: 100px;
padding: 6px 12px;
user-select: none;
&:hover {
background: #387cec;
border: 1px solid #387cec;
color: #fff;
// background: darken(#555, 3%);
}
&:active {
transform: scale(0.97);
}
}