-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
66 lines (58 loc) · 1018 Bytes
/
style.css
File metadata and controls
66 lines (58 loc) · 1018 Bytes
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
body {
background: black;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1 {
margin-top: 20px;
color: aliceblue;
text-align: center;
font-size: 60px;
}
.cards {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
height: 100%;
padding: 20px;
}
.card,
.skeleton {
border-radius: 5px;
padding: 20px;
margin: 10px;
background-color: aliceblue;
list-style: none;
}
.card img {
width: 350px;
height: 300px;
object-fit: cover;
}
.card_text,
.skeleton_text {
text-align: center;
margin-top: 15px;
font-size: 18px;
font-weight: bold;
}
.skeleton_img {
width: 350px;
height: 300px;
animation: skeleton-gradient 1.5s infinite ease-in-out;
}
@keyframes skeleton-gradient {
0% {
background-color: rgba(165, 165, 165, 0.1);
}
50% {
background-color: rgba(165, 165, 165, 0.3);
}
100% {
background-color: rgba(165, 165, 165, 0.1);
}
}