Get rid of overcomplicated transition properties

Not a single time this been useful, quite the opposite; it was very
annoying
This commit is contained in:
daudix
2024-06-15 02:18:13 +03:00
parent 5aa00a628b
commit 018fcf813c
12 changed files with 22 additions and 36 deletions

View File

@ -3,8 +3,7 @@ input[type="checkbox"] {
-webkit-appearance: none;
position: relative;
appearance: none;
transition-duration: var(--transition);
transition-property: border, background-color;
transition: var(--transition);
border: 0.15rem solid var(--fg-muted-3);
background-color: var(--fg-muted-1);
width: 1rem;
@ -15,8 +14,7 @@ input[type="checkbox"] {
position: absolute;
transform: scale(0);
opacity: 0;
transition-duration: var(--transition);
transition-property: transform, opacity;
transition: var(--transition);
background-color: white;
content: "";
}