-
Notifications
You must be signed in to change notification settings - Fork 281
/
Copy pathstyle.css
60 lines (52 loc) · 810 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
* {
margin: 0;
padding: 0;
}
body {
background-color: #ddd;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.quote-container {
padding: 5rem;
position: relative;
}
#quoteOutput {
font-family: sans-serif;
letter-spacing: 2px;
line-height: 50px;
font-size: 2rem;
margin-top: 2rem;
width: 800px;
}
#authorOutput {
position: relative;
margin-top: 5rem;
text-align: right;
font-family: sans-serif;
font-size: 1.2rem;
}
span,
small {
animation: anime 1s ease-out;
}
.btn {
padding: 10px 30px;
background-color: #fdbb11;
border: none;
cursor: pointer;
}
@keyframes anime {
from {
opacity: 0;
transform: scale(0);
}
to {
opacity: 1;
transform: scale(1);
}
}