-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
49 lines (43 loc) · 885 Bytes
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #383d52;
}
h2{
position: relative;
font-size: 14vh;
color: #252839;
-webkit-text-stroke: 0.3vw #383d52;
text-transform: uppercase;
}
h2::before{
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
color: #01fe87;
-webkit-text-stroke: 0vw #383d52;
border-right: 2PX solid #01fe87;
overflow: hidden;
animation: animate 5s linear infinite;
}
@keyframes animate{
0%,10%,100%
{
width: 0;
}
70%,90%
{
width: 100%;
}
}