Skip to content

Commit 6b4ea6c

Browse files
committed
Use CSS transitions only for colors
1 parent 1385a7c commit 6b4ea6c

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

index.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,12 @@
4646
* {
4747
scrollbar-width: thin;
4848
scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
49-
transition:
50-
all 0.25s ease,
51-
width 0s,
52-
height 0s,
53-
min-width 0s,
54-
max-width 0s,
55-
min-height 0s,
56-
max-height 0s;
57-
5849
outline: none;
50+
transition:
51+
color 0.25s ease,
52+
background-color 0.25s ease,
53+
border-color 0.25s ease,
54+
outline-color 0.25s ease;
5955
}
6056

6157
main {

0 commit comments

Comments
 (0)