-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsive.css
More file actions
39 lines (34 loc) · 789 Bytes
/
responsive.css
File metadata and controls
39 lines (34 loc) · 789 Bytes
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
@media (max-width: 23.4375em) {
.main-div {
grid-template-columns: 1fr;
max-width: 45rem;
/* overflow: visible; */
}
.product-image {
/* background-image: url(images/image-product-desktop.jpg),
linear-gradient(hsl(212, 21%, 4%), hsl(228, 12%, 18%)); */
background-image: linear-gradient(
to bottom,
hsla(212, 21%, 14%, 0.09),
hsla(212, 21%, 14%, 0.09)
),
url(images/image-product-mobile.jpg);
background-size: cover;
/* height: 100%; */
width: 100%;
height: 30rem;
background-position: center;
}
.description {
padding: 2.5rem;
}
.prd-h {
font-size: 3rem;
}
.price-now {
font-size: 3rem;
}
.prd-exp {
line-height: 1.5;
}
}