-
Notifications
You must be signed in to change notification settings - Fork 2
/
productPage.css
88 lines (80 loc) · 1.53 KB
/
productPage.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
#slider{
transition: 3s;
width: 100%;
}
#sort{
border-top-right-radius: 10px;
margin: -5px;
width: 380px;
background-color:#003f62;
padding: 10px;
}
.btn{
border: 2px solid white;
color: white;
background-color: #eda515;
padding: 10px;
border-radius: 10px;
}
.sp{
color: whitesmoke;
font-size: 22px;
}
#products {
padding-top: 40px;
padding-bottom: 60px;
background-color: #003f62;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Use auto-fill to create as many columns as possible while maintaining the minimum size */
gap: 20px;
}
#products div img{
border-radius: 10px;
width: 100%;
height: 250px;
}
#products div h4{
color: rgb(31, 40, 102);
}
#products div h3{
padding: 5px;
color: crimson;
}
#products div {
background-color: aliceblue;
padding: 5px;
border: 2px solid black;
border-radius: 10px;
padding: 7px;
}
.relatedprod{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin: 10px;
}
.relatedprod div{
box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
padding: 4px;
width: 250px;
width: 250px;
border-radius: 10px;
}
.relatedprod div img{
width: 100%;
}
.relatedprod div h4{
font-size: 15px;
color: rgb(23, 72, 152);
}
.relatedprod div h2{
color: crimson;
font-size: 20px;
}
.relatedprod div .btn{
position: relative;
margin-bottom: 1px;
}
/* .relatedprod div *{
margin: 5px;
} */