-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
53 lines (44 loc) · 852 Bytes
/
styles.css
File metadata and controls
53 lines (44 loc) · 852 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
50
51
52
53
body, h1 {
font-family: "Raleway", sans-serif
}
body, html {
height: 100%;
margin: 0px;
}
.bgimg {
background-image: url('background.jpg');
min-height: 100%;
background-position: center;
background-size: cover;
animation-name: fade-in;
animation-duration: 2s;
opacity: 1;
}
@keyframes fade-in {
from {opacity: 0;}
to {opacity: 1;}
}
.wrapper {
height: 25vh;
/*This part is important for centering*/
display: grid;
place-items: center;
}
.typewriter_center {
width: 47ch;
animation: typing 2s steps(47), blink .5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-size: 2.8em;
}
@keyframes typing {
from {
width: 0
}
}
@keyframes blink {
50% {
border-color: transparent
}
}