From d419274afd550f98d281e9d3eb051e24f314391a Mon Sep 17 00:00:00 2001 From: Emil Tholin Date: Tue, 30 Apr 2019 00:25:07 +0200 Subject: [PATCH] Narrow down checkbox transitions to background and left --- site/static/global.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/static/global.css b/site/static/global.css index 0681ee133a..4553898006 100644 --- a/site/static/global.css +++ b/site/static/global.css @@ -469,7 +469,6 @@ input[type="checkbox"]::before { top: 0; left: 0; background: var(--second); - -webkit-transition: .25s ease-out; /* box-sizing: border-box; */ box-sizing: content-box; } @@ -489,7 +488,7 @@ input[type="checkbox"]::after { border-radius: 1em; background: white; box-shadow: 0 0px 1px rgba(0,0,0,.4), 0 4px 2px rgba(0,0,0,.1); - -webkit-transition: .2s ease-out; + -webkit-transition: background .2s ease-out, left .2s ease-out; } input[type="checkbox"]:checked::after {