-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
40 lines (38 loc) · 911 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
@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);
/* Global Props */
html{
min-height: 100%;
overflow: hidden;
}
body{
height: calc(100vh - 8em);
padding: 4em;
color: rgba(255,255,255,.75);
font-family: 'Anonymous Pro', monospace;
background-color: rgb(25,25,25);
}
.line-1{
position: relative;
top: 50%;
width: 16em;
margin: 0 auto;
border-right: 2px solid rgba(255,255,255,.75);
font-size: 180%;
text-align: center;
white-space: nowrap;
overflow: hidden;
transform: translateY(-50%);
}
/* Animation Part */
.anim-typewriter{
animation: typewriter 4s steps(50) 1s 1 normal both,
blinkTextCursor 500ms steps(50) infinite normal;
}
@keyframes typewriter{
from{width: 0;}
to{width: 9em;}
}
@keyframes blinkTextCursor{
from{border-right-color: rgba(255,255,255,.75);}
to{border-right-color: transparent;}
}