-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.css
More file actions
48 lines (46 loc) · 904 Bytes
/
demo.css
File metadata and controls
48 lines (46 loc) · 904 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
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #343f4a;
}
.wrapper{
display: inline-flex;
}
.wrapper.static-txts{
color: #fff;
font-size: 60px;
font-weight: 400;
}
.wrapper.dynamic-txts{
margin-left: 15;
height: 90px;
line-height: 90px;
overflow: hidden;
}
.dyamic-txts li{
color: #fc6d6d;
list-style: none;
font-size: 60px;
font-weight: 500;
}
.dyamic-txts li span{
position: relative;
}
.dyamic-txts li span::after{
content: "";
position: absolute;
left: 0;
height: 100%;
width: 100%;
background: #fff;
border-left: 2px solid #fc6d6d;
animation: typing 1.5s steps(10) infinite;
}
@keyframes typing{
100%{
left: 100%;
margin: 0 -35px 0 35px;
}
}