-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
84 lines (70 loc) · 1.52 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
80
81
82
83
84
html,
body {
height: 100vh;
background-color: #FEBC58;
}
.container {
/* height: 100vh;
width: 400px; */
padding: 50px;
margin: 200px 0 200px;
display: flex;
flex-direction: row;
align-items: center;
text-align: center;
align-content: space-between;
background-color: #FEBC58;
}
#main {
max-width: 650px;
margin: 200px auto;
padding: 15px;
border-radius: 5px;
}
@media (max-width:460px) {
#main {
margin: 0;
}
}
#beerImage {
padding-top: 50px;
margin-left: 20px ;
width: 250;
height: 250px;
}
.random-beer {
color: white;
font-size: 30px;
font-family: helvetica;
}
.description {
max-width: 600px;
color: #f7ecb7;
font-family: helvetica;
font-size: 20px;
}
/* .display-beerImage {
margin-left: 50px;
} */
.box {
align-self: flex-end;
animation-duration: 2s;
animation-iteration-count: infinite;
height: 100px;
margin: 0 auto 0 auto;
transform-origin: bottom;
width: 100px;
}
.bounce-6 {
animation-name: bounce-6;
animation-timing-function: ease;
}
@keyframes bounce-6 {
0% { transform: scale(1,1) translateY(0); }
10% { transform: scale(1.1,.9) translateY(0); }
30% { transform: scale(.9,1.1) translateY(-100px); }
50% { transform: scale(1.05,.95) translateY(0); }
57% { transform: scale(1,1) translateY(-7px); }
64% { transform: scale(1,1) translateY(0); }
100% { transform: scale(1,1) translateY(0); }
}