-
Notifications
You must be signed in to change notification settings - Fork 179
/
index.css
116 lines (108 loc) · 1.89 KB
/
index.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.flex{
display: flex;
justify-content: center;
align-items: center;
}
body{
width:100vw;
heigt: 100vh;
flex-direction: column;
bckground-image: url(1-732.jpg);
background-position: center;
background-size: cover;
}
#con{
width: 60vw;
heiht: 100vh;
flex-direction: column;
padding: 5rem 0 5rem 0;
}
#fir{
width: 30rem;
height: 10rem;
background-color: aqua;
background-image: url(Encanto-feature-720x340.jpg);
background-position: center;
background-size: cover;
margin-bottom: 0.5rem;
}
#sec{
width: 30rem;
}
#secfir{
width: 20rem;
heiht: 100%;
flex-direction: column;
margin-right: 0.5rem;
}
#secsec{
width: 10rem;
height: 20rem;
background-color: red;
background-image: url(download.jpg);
background-position: center;
background-size: cover;
}
#a{
width: 100%;
hight: 50%;
}
#black{
width: 20rem;
height: 10rem;
margin-top: 0.5rem;
background-color: brown;
background-image: url(encanto-posters.jpg.webp);
background-position: center;
background-size: cover;
}
#yell,#blue{
width: 10rem;
height: 10rem;
background-color: rebeccapurple;
}
#yell{
background-color:blanchedalmond;
margin-right: 0.5rem;
background-image: url(a.jpg);
background-position: center;
background-size: cover;
}
#blue{
background-image: url(b.jpg);
background-position: center;
background-size: cover;
}
@media (max-width:800px){
#sec{
flex-direction: column;
}
#a{
flex-direction: column;
}
#black{
width: 10rem;
margin-top: 0;
margin-bottom: 0.5rem;
}
#secsec{
height: 10rem;
}
#fir{
width: 10rem;
}
#secfir{
margin-right: 0;
}#yell{
margin-right: 0;
margin-bottom: 0.5rem;
}
#blue{
margin-bottom: 0.5rem;
}
}