morty
54 строки · 802.0 Байт
1.card--inner {
2display: grid;
3grid-template-columns: 1fr 1fr 1fr;
4justify-items: center;
5
6gap: 30px;
7
8.card-images {
9height: 300px;
10background-color: #000;
11cursor: pointer;
12
13img {
14transition: all 0.2s;
15&:hover {
16opacity: 0.6;
17}
18}
19}
20
21.card-info {
22display: flex;
23flex-direction: column;
24
25margin-top: 10px;
26gap: 10px;
27align-items: center;
28
29.card-name {
30margin: 0;
31}
32
33.card-status {
34margin: 0;
35}
36}
37}
38
39.load-more {
40display: flex;
41margin: 50px auto 0;
42font-size: 18px;
43padding: 5px 10px 5px 10px;
44border-radius: 5px;
45border: none;
46background-color: #ffff32;
47cursor: pointer;
48color: #000;
49transition: all 0.2s;
50
51&:hover {
52box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
53}
54}
55