-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtransition.css
32 lines (30 loc) · 1.39 KB
/
transition.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
:root {
/****************************************************************
* Transition Property
* Variables for controlling which CSS properties transition.
* transition-property: var(--transition);
*****************************************************************/
--transition: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter;
--transition-colors: color, background-color, border-color, text-decoration-color, fill, stroke;
/****************************************************************
* Transition Timing
* Variables for controlling the timing of CSS transitions.
* transition-duration|transition-delay: var(--time-75);
*****************************************************************/
--time-75: 75ms;
--time-100: 100ms;
--time-150: 150ms;
--time-200: 200ms;
--time-300: 300ms;
--time-500: 500ms;
--time-700: 700ms;
--time-1000: 1000ms;
/****************************************************************
* Transition Timing Function
* Variables for controlling the easing of CSS transitions.
* transition-timing-function: var(--ease-in);
*****************************************************************/
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}