-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
69 lines (52 loc) · 1.01 KB
/
main.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
.main {
width: 70%;
height: 100%;
background-color: lightgray;
}
.card {
background-color: lightblue;
max-width: 230px;
min-width: 200px;
height: 450px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.card h5{
margin: 1px;
}
.card h2{
margin-bottom: 10px;
}
.card .comments {
align-self: stretch;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.card img {
width: 95%;
height: 50%;
transition: all .5s;
}
.card img:hover {
transform: scale(1.5);
transition: all .5s;
}
.comments {
padding-right: 5px;
padding-bottom: 2px;
}
.rating {
padding-left: 5px;
padding-bottom: 2px;
}
.cards-container {
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(auto-fill, 230px);
grid-column-gap: 10px;
grid-row-gap: 20px;
justify-content: space-between;
}