-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhover.css
More file actions
51 lines (47 loc) · 980 Bytes
/
hover.css
File metadata and controls
51 lines (47 loc) · 980 Bytes
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
/* FULL PAGE CENTERING */
.paragraph-demo {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 5;
pointer-events: none;
}
/* MAIN PARAGRAPH */
.demo1 {
max-width: 900px;
text-align: center;
font-size: 2.2rem;
line-height: 1.6;
font-weight: 500;
color: #ffffff;
/* subtle glow */
text-shadow:
0 0 10px rgba(255,255,255,0.35),
0 0 20px rgba(255,255,255,0.15);
}
/* RAINBOW ANIMATED SPAN */
.highlight {
font-weight: 600;
background: linear-gradient(
90deg,
#ff0000,
#ff9900,
#ffff00,
#00ff00,
#00ffff,
#0000ff,
#ff00ff,
#ff0000
);
background-size: 400% 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: rainbow 4s linear infinite;
}
/* RAINBOW LOOP */
@keyframes rainbow {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}