/
trending.css
87 lines (87 loc) · 1.65 KB
/
trending.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
*{
padding: 0px;
margin: 0px;
font-family: sans-serif;
background-color: #131927;
}
#container{
display: grid;
grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
width: 84%;
margin: auto;
gap: 20px;
padding-bottom: 5%;
}
#container div{
/* box-shadow: rgb(255, 255, 255) 0px 7px 29px 0px; */
padding: 10px 10px ;
border-radius: 5px;
height: 550px;
background-color: black;
color: white;
margin-top: 10%;
/* line-height: 40px; */
}
#container div img{
width: 100%;
max-height: 360px;
/* border: 2px solid white; */
}
h3{
margin-top: 5%;
background-color: black;
}
p{
margin-top: 10%;
background-color: black;
}
h4{
background-color:green;
width: max-content;
color: yellow;
/* height: 30px; */
border-radius: 10px;
padding: 5px;
margin-top: 10%;
display: flex;
justify-content: center;
align-items: center;
}
#nav{
width: 100%;
height: 80px;
/* border: 2px solid white; */
display: flex;
justify-content: space-around;
background-color: black;
}
#disney{
width: 20%;
background-color: black;
}
#nav>div:first-child{
width: 40%;
height: 100%;
/* border: 1px solid green; */
display: flex;
color: lightgrey;
font-size: 17px;
justify-content: center;
background-color: black;
justify-content: space-evenly;
align-items: center;
}
#nav>div:first-child>p{
margin-bottom: 10%;
}
#nav>div:last-child{
width: 25%;
height: 100%;
background-color: black;
/* border: 1px solid green; */
transition: 700ms;
}
img{
width: 100%;
display: block;
}