-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (74 loc) · 1.25 KB
/
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
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
83
84
85
86
87
88
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
font-size: 2rem;
}
body{
display: flex;
background: #3d4f34;
}
.wrapper{
display: inline-flex;
}
.wrapper .static-text{
}
.wrapper .dynamic-texts{
overflow: hidden;
line-height: 90px;
height: 90px;
}
.dynamic-texts li{
}
.dynamic-texts li span{
position: relative;
}
.dynamic-texts li span::after{
content: "";
position: absolute;
left: 0;
height: 100%;
width: 100%;
background: #3d4f34;
border-left: 2px solid #fc6d6d;
animation: typing 1.5s steps(10) infinite;
}
@keyframes typing {
100%{
left: 100%;
margin: 0 -35px 0 35px;
}
}
.de{
display: inline-flex;
}
.de .k{
color: white;
}
.de .texr{
overflow: hidden;
line-height: 90px;
height: 90px;
}
.de .texr li{
position: relative;
list-style: none;
}
.de .texr li span{
position: relative;
.de .texr li span::after{
content: "";
position: absolute;
left: 0;
width: 100%;
height: 100%;
border-width: 2px soid red;
animation: typing 1.5s steps(10);
}
@keyframes typing {
100%{
left: 100%;
margin: 0 -35px 0 35px;
}
}