-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
73 lines (60 loc) · 1015 Bytes
/
main.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
@apply m-0 p-0 box-border;
}
body {
background: #f2f2f2;
}
a {
@apply cursor-pointer;
}
@keyframes slide {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.pictures-carousel {
overflow: hidden;
padding: 2em 0;
-webkit-mask: linear-gradient(
90deg,
transparent,
#fff 30%,
#fff 80%,
transparent
);
mask: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
}
.pictures-carousel > div {
@apply w-max flex flex-nowrap gap-4 list-none;
animation: slide 20s infinite linear;
}
.pictures-carousel img {
height: 300px;
}
.pictures-carousel:hover div {
animation-play-state: paused;
}
.pictures-carousel img:hover {
transform: scale(1.1);
transition: transform 0.3s ease;
}
.blink-text {
animation: blinker 1s linear infinite;
}
@keyframes blinker {
0% {
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
opacity: 0.3;
}
}