style.css
897 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
52
53
54
55
56
57
58
59
body{
display:flex;
align-items:center;
font-family:sans-serif;
flex-direction:column;
height:100vh;
font-size:6rem;
-webkit-text-stroke: 1px white;
-webkit-text-fill-color: black;
-webkit-animation: fill 0.5s infinite alternate;
background:black;
width:100vw;
overflow-x:hidden;
justify-content:center;
}
.l{
width:fit-content;
white-space:nowrap;
animation: example 10s linear 0.5s infinite;
}
.r{
width:fit-content;
white-space:nowrap;
animation: example2 10s linear 0.5s infinite;
}
@keyframes example2 {
0% {
margin-right:0%;
opacity:0%;
}
10%{
opacity:100%;
}
90%{
opacity:100%;
}
100% {
margin-right:-100%;
opacity:0%;
}
}
@keyframes example {
0% {
margin-left:0%;
opacity:0%;
}
10%{
opacity:100%;
}
90%{
opacity:100%;
}
100% {
margin-left:-100%;
opacity:0%;
}
}