-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.css
63 lines (63 loc) · 1.15 KB
/
app.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
body {
background-color: white;
margin: 0;
font-family: 'Rubik', Helvetica, sans-serif;
color: red;
padding: 10px
}
.container {
padding: 40px;
margin: 0 auto;
}
h1 {
text-transform: uppercase;
text-align: center;
font-size: 54px;
}
.card {
box-shadow: 5px 10px;
list-style: none;
padding: 40px;
background-color: orangered;
color: #222;
text-align: center;
border-radius: 25px;
}
.card-title {
text-transform: uppercase;
font-size: 32px;
font-weight: normal;
margin-bottom: 0;
}
.card-subtitle {
font-weight: lighter;
color: #222;
margin-top: 5px;
}
.card-image {
height: 192px;
image-rendering: pixelated;
}
#pokedex {
padding-inline-start: 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
grid-gap: 20px;
}
.card:hover {
animation: bounce 0.5s linear;
}
@keyframes bounce {
20% {
transform: translateY(-6px);
}
40% {
transform: translateY(0px);
}
60% {
transform: translateY(-2px);
}
80% {
transform: translateY(-0px);
}
}