-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsive.css
More file actions
106 lines (71 loc) · 1.44 KB
/
Copy pathresponsive.css
File metadata and controls
106 lines (71 loc) · 1.44 KB
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: sans-serif;
}
header {
background-color: blue;
color: white;
padding: 20px;
text-align: center;
margin-bottom: 5%;
}
section {
background-color: lightgrey;
border: 4px solid blue;
min-height: 50vh;
display: grid;
place-content:center;
background-image: url(Assets/images/big.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: bottom;
}
section img {
display: block;
width: 20%;
height: auto;
border: 4px solid grey;
border-radius: 50%;
}
figure {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 10px;
height: 50vh;
color: white;
background-color: rgba(101, 54, 54, 0.507);
}
section div {
text-align: center;
}
@media (min-width :414px) {
figure {
flex-direction: column ;
justify-content: center;
font-size: 1.5rem;
}
@media (min-width: 576px) {
figure {
flex-direction: row;
gap: 4rem;
font-size: 2rem;
}
}
@media (min-width : 992px) {
figure {
gap: 6rem;
font-size: 2.2rem;
}
}
@media (min-width: 1200px) {
figure {
gap:8rem ;
font-size: 2.3rem;
}
}
}