-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimation.css
More file actions
47 lines (35 loc) · 1 KB
/
animation.css
File metadata and controls
47 lines (35 loc) · 1 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer utilities {
/*
Shrinking
*/
.shrink-animation {
@apply hover:scale-95 transform transition-transform duration-200 ease-in-out;
}
.shrink-animation-lg {
@apply hover:scale-90 transform transition-transform duration-200 ease-in-out;
}
.shrink-animation-xl {
@apply hover:scale-75 transform transition-transform duration-200 ease-in-out;
}
.shrink-animation-2xl {
@apply hover:scale-50 transform transition-transform duration-200 ease-in-out;
}
/*
Growing
*/
.grow-animation {
@apply hover:scale-105 transform transition-transform duration-200 ease-in-out;
}
.grow-animation-lg {
@apply hover:scale-110 transform transition-transform duration-200 ease-in-out;
}
.grow-animation-xl {
@apply hover:scale-125 transform transition-transform duration-200 ease-in-out;
}
.grow-animation-2xl {
@apply hover:scale-150 transform transition-transform duration-200 ease-in-out;
}
}