From f7a456e791761534abd77ae27fc85bfc3cfcf420 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 20 Nov 2022 01:10:00 +0100 Subject: [PATCH] Animacja checkboxa --- src/styles/global.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/styles/global.scss b/src/styles/global.scss index 5ff23a6..218ae10 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -151,6 +151,10 @@ label.g-checkbox { cursor: pointer; color: #aaa; + span { + transition: color 125ms ease; + } + span::before { content: ''; display: inline-block; @@ -160,6 +164,8 @@ label.g-checkbox { background-color: #aaa; border-radius: 50%; margin-right: 0.25em; + + transition: background-color 125ms ease; } input {