forked from harshmittal1750/one_page_html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHey.html
82 lines (72 loc) · 1.98 KB
/
Hey.html
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
74
75
76
77
78
79
80
81
82
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style.css">
<Style>
body {
margin: 0;
padding: 0;
background: #000000;
}
.wrapper {
height: 800px;
display: flex;
align-items: center;
justify-content: center;
background: #000000;
}
.txt {
color: #ffffff;
background: #000000;
font-size: 200px;
font-weight: bold;
font-family: Arial;
text-transform: uppercase;
}
.txt::before {
content: 'hey';
position: absolute;
mix-blend-mode: difference;
filter: blur(3px);
}
.neon-wrapper {
display: inline-flex;
filter: brightness(200%);
overflow: hidden;
}
.gradient {
background: linear-gradient(114.5793141156962deg, rgba(6, 227, 250, 1) 4.927083333333334%, rgba(229, 151, 64, 1) 97.84374999999999%);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
mix-blend-mode: multiply;
}
.dodge {
background: radial-gradient(circle, white, black 35%) center / 25% 25%;
position: absolute;
top: -100%;
left: -100%;
right: 0;
bottom: 0;
mix-blend-mode: color-dodge;
animation: dodge-area 3s linear infinite;
}
@keyframes dodge-area {
to {
transform: translate(50%, 50%);
}
}
</Style>
</head>
<body>
<div class="wrapper">
<div class="neon-wrapper">
<span class="txt">hey</span>
<span class="gradient"></span>
<span class="dodge"></span>
</div>
</div>
</body>
</html>