forked from coder2hacker/Explore-open-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Distortion of SIT.html
81 lines (75 loc) · 1.28 KB
/
Distortion of SIT.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>@distortion</title>
<style>
*
{
margin: 0;
padding: 0;
font-family: 'Poppins', algerian;
}
body
{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #000;
}
h2
{
position: relative;
color: #fff;
font-size: 3em;
font-weight: 900;
z-index: 1;
margin: 40px 0 0;
overflow: hidden;
}
h2:before
{
content: '';
position: absolute;
left: 110%;
width: 120%;
height: 100%;
background: linear-gradient(90deg,transparent 0%, #000 5%, #000 100%);
animation: animate 5.5s linear forwards;
animation-delay: 2.2s;
}
@keyframes animate
{
0%
{
left: 95%
}
100%
{
left: -20%
}
}
h2 span
{
color: #ff022c;
}
video
{
position: absolute;
top: 0;
left: 0
width: 100%;
height: 100%;
object-fit: cover;
z-index: 2;
pointer-events: none;
mix-blend-mode: screen;
}
</style>
</head>
<body>
<video src="video/particles.mp4" muted="" autoplay=""></video>
<!-- <h2><span>S</span>ubha In<span>fo</span>Tech</h2> -->
<h2><span>WEL</span>COME TO <span>S</span>UBHA INFOTECH</h2>
</body>
</html>