From 12624f646358199e5eb1e94e9798b84e7b6c4517 Mon Sep 17 00:00:00 2001 From: Haishan Date: Tue, 18 Dec 2018 22:13:30 +0800 Subject: [PATCH] style(button): scale down a bit on touching down --- src/components/Button.module.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Button.module.scss b/src/components/Button.module.scss index 3564f7b..2c906ad 100644 --- a/src/components/Button.module.scss +++ b/src/components/Button.module.scss @@ -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); + } }