-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (67 loc) · 1.38 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
69
70
71
72
73
74
75
76
77
78
79
#matthew {
display: none;
}
#container {
height: 60vh;
width: 100vw;
display: flex;
flex-flow: column nowrap;
align-items: center;
justify-content: flex-end;
}
#displayText {
width: 80%;
text-align: center;
margin: 20px;
font-size: 130%;
color: darkslategrey;
}
#displayText::first-letter {
text-transform: uppercase;
}
#buttonWrapper {
display: flex;
width: 50%;
justify-content: space-around;
}
.buttons {
background: linear-gradient(270deg, #4e9fe2, #4e8ee2);
background-size: 400% 400%;
color: white;
border-radius: 5px;
padding: 15px 15px;
text-align: center;
font-size: 100%;
font-family: sans-serif;
cursor: pointer;
animation: flow 20s ease infinite;
}
@keyframes flow {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}
.textEnter {
animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@keyframes tracking-in-expand {
0% {
letter-spacing: -0.5em;
opacity: 0;
}
40% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}
.contextEnter {
overflow: hidden;
animation: enter 2s ease-in-out both;
}
@keyframes enter {
0% {opacity: 0;}
50% {opacity: 1}
100% {opacity: 0;}
}