-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrendingseries.css
100 lines (84 loc) · 2.23 KB
/
trendingseries.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* Base styles for the card container and grid */
#movie-grid {
display: flex;
gap: 10px;
overflow-x: auto;
margin-left: 15px;
}
/* Styles for the flip card */
.card {
width: 250px;
height: 350px;
perspective: 1000px;
cursor: pointer;
flex-shrink: 0;
color: white;
}
.card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 1s;
transform-style: preserve-3d;
}
.card.flip .card-inner {
transform: rotateY(180deg);
}
.card-front,
.card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border: 1px solid #CCCCCC00;
border-radius: 8px;
overflow: hidden;
}
.card-front {
/* display: flex;
justify-content:center;
align-items:center;*/
background: #FFFFFF00;
}
.card-back {
background: #00000000;
transform: rotateY(180deg);
padding-left: 30px;
/*display: flex;
flex-direction: column;
justify-content: left;
align-items: center;
text-align: center;*/
}
.card-back h3 {
margin: 10px 0;
padding: 1px;
font-size: 10px;
}
.card-back p {
font-size: 8px;
}
.movie-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
footer {
padding: 10px;
display: flex;
justify-content: center;
}
.none {
padding: 10px 20px;
margin: 0 10px;
cursor: pointer;
display: none;
}
#trendingseries{
display: none;
}
@media(min-width:720px) and (max-width:1024px){
#movie-grid{
gap: 20px;
}
}