-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
57 lines (48 loc) · 942 Bytes
/
index.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@tailwind base;
@tailwind components;
@tailwind utilities;
.ease {
@apply transition duration-200 ease-in-out;
}
@layer components {
.btn {
@apply
justify-center
flex items-center
shadow-lg
active:translate-y-0
active:shadow-none
font-bold
text-white
text-shadow-dark
uppercase
text-xl md:text-3xl
text-opacity-90
rounded-full
/* bg-gradient-to-r from-sky-400 to-sky-500 to-90% */
bg-sky-600
bg-[length:200%]
p-2 md:p-4
disabled:opacity-50
disabled:cursor-not-allowed
cursor-pointer
ease
}
.btn:not([disabled]):hover {
@apply from-30%
text-opacity-100
bg-sky-500
scale-105
shadow-xl
translate-y-[-1px]
}
.btn-neutral {
@apply btn
bg-none
text-shadow-light
bg-gray-100 text-gray-400
}
.btn-neutral:not([disabled]):hover {
@apply bg-sky-600 text-white text-shadow-none
}
}