-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
68 lines (56 loc) · 1.18 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
@charset "utf-8";
*, *::before, *::after {
box-sizing: border-box;
}
/* body {
font-family: 'Questrial', sans-serif;
} */
/* ヒーローテキスト */
main {
z-index: 1;
height: 100vh;
/* background-image: url("/images/HeroBackground.png"); */
flex-direction: column;
align-items: center;
/* font-family: 'Montserrat', sans-serif; */
font-family: 'Michroma', sans-serif;
font-weight: 300;
}
.textAnimation {
color: #fff;
font-size: 3em;
letter-spacing: .7em;
display: flex;
justify-content: center;
height: 100vh;
}
.textAnimation:not(:first-of-type) {
margin-top: 20px;
}
@keyframes showTextFromBottom {
0% {
transform: translateY(100vh);
}
100% {
transform: translateY(50vh)
}
}
.textAnimation span {
display: inline-block;
}
.textAnimation span#tAnmLast {
margin-right: -.7em;
}
.textAnimation > span {
overflow: hidden;
}
.textAnimation > span > span {
transform: translateY(50vh);
animation: showTextFromBottom cubic-bezier(0.075, 0.82, 0.165, 1) 1s backwards;
}
/* .textAnimation span:nth-of-type(odd) {
animation: showTextFromTop ease-out 3s backwards;
}
.textAnimation span:nth-of-type(even) {
animation: showTextFromBottom ease-out 3s backwards;
} */