-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplash.css
More file actions
70 lines (62 loc) · 1.54 KB
/
splash.css
File metadata and controls
70 lines (62 loc) · 1.54 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* Refined Premium Splash Screen */
#splash-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 99999;
display: flex;
justify-content: center;
align-items: center;
transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), filter 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.splash-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
}
.splash-title {
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 700;
letter-spacing: 0.3em;
text-transform: uppercase;
color: #fff;
opacity: 0;
transform: translateY(10px);
animation: splashFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
background: linear-gradient(90deg, #fff 0%, #666 50%, #fff 100%);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation:
splashFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
shimmer 4s linear infinite;
}
.splash-line-container {
width: 0;
height: 1px;
background: rgba(255, 255, 255, 0.2);
animation: expandLine 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
/* Exit State */
.splash-hidden {
opacity: 0 !important;
filter: blur(20px);
pointer-events: none;
}
@keyframes splashFadeIn {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes shimmer {
to { background-position: 200% center; }
}
@keyframes expandLine {
to { width: 100px; }
}