From f86a67d82d3afdd52fe581cd3bae1c9fe188f1e1 Mon Sep 17 00:00:00 2001 From: yashvarshney003 <59112785+yashvarshney003@users.noreply.github.com> Date: Wed, 21 Oct 2020 11:31:54 +0530 Subject: [PATCH] toggle switch more accurate --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index 2765aa2..1db2de3 100644 --- a/style.css +++ b/style.css @@ -286,7 +286,7 @@ input:checked + label { } input:checked + label:after { - left: calc(100% - 5px); + left: calc(100% + 3px); transform: translateX(-100%); }