-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassignment2.css
51 lines (45 loc) · 918 Bytes
/
assignment2.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
.flex-container{
display: flex;
border: 1px solid red;
width: 100%;
height: auto;
flex-wrap: wrap;
justify-content: space-around;
background-color: indianred;
}
.flex-container img{
width: 18vw;
height: 30vh;
margin: 10px;
border-radius: 10px;
}
@media screen and (max-width:1159px) {
.flex-container img{
width: 25vw;
height: 40vh;
}
}
@media screen and (max-width:993px) {
.flex-container img{
width: 30vw;
height: 45vh;
}
}
@media screen and (max-width:759px) {
.flex-container img{
width: 40vw;
height: 48vh;
}
}
@media screen and (max-width:660px) {
.flex-container img{
width: 45vw;
height: 48vh;
}
}
@media screen and (max-width:559px) {
.flex-container img{
width: 85vw;
height: 45vh;
}
}