forked from GDSC-IIIT-Kalyani/playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (54 loc) · 923 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
50
51
52
53
54
55
56
57
h1{
text-align: center;
font-size: 100px;
}
h1:hover{
color: darkred;
}
h3{
text-align: center;
font-size: 40px;
}
body{
background-color: peru;
}
.wrapper {
display: inline-flex;
}
.wrapper .static-text {
color: #fff;
font-size: 60px;
font-weight: 400;
}
.static-text:hover{
color: chartreuse;
}
.wrapper .dynamic-text {
margin-bottom: 5px;
}
.dynamic-text li {
list-style: none;
font-size: 40px;
font-weight: 500;
color: black;
/* color: #eaeaea; */
}
.dynamic-text li span {
position: relative;
}
.dynamic-text li span::after {
content: "";
position: absolute;
left: 0;
height: 100%;
width: 100%;
background: peru;
border-left: 2px solid #eaeaea;
animation: typing 2.5s steps(9) infinite;
}
@keyframes typing {
100% {
left: 100%;
margin: 0 -35px 0 35px;
}
}