-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (42 loc) · 820 Bytes
/
style.css
File metadata and controls
50 lines (42 loc) · 820 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: rgba(25, 25, 25);
}
.line {
border-right: 2px solid rgba(255, 255, 255, 0.75);
color: #99ffcc;
font-family: 'Raleway', sans-serif;
font-size: 1.5em;
text-align: center;
margin: 0 auto;
white-space: nowrap;
overflow: hidden;
}
.typing-animation {
animation: blinkCursor 500ms steps(40) infinite normal,
typing 4s steps(40) 1s normal both;
}
@keyframes typing {
from {
width: 0;
}
to {
width: 15em;
}
}
@keyframes blinkCursor {
from {
border-right-color: rgba(255, 255, 255, 0.75);
}
to {
border-right-color: transparent;
}
}