Narrow down checkbox transitions to background and left

pull/2631/head
Emil Tholin 5 years ago committed by Conduitry
parent 60e73c41dc
commit d419274afd

@ -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 {

Loading…
Cancel
Save