forked from mohitbirla20/team_1mg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprdouct-page.css
117 lines (92 loc) · 2.15 KB
/
prdouct-page.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
117
body {
font-family: 'Lato', sans-serif;
}
#AP {
width: 80%;
margin: auto;
margin-bottom: 20px;
}
#sorting {
width: 80%;
margin: auto;
margin-bottom: 10px;
display: flex;
justify-content: flex-end;
}
#sorting>span {
color: #212121;
font-size: 14px;
padding: 4px 15px;
}
#sorting>select {
padding: 4px 15px;
margin-left: 20px;
}
#container {
width: 80%;
display: grid;
grid-template-columns: repeat(4, 1fr);
margin: auto;
}
#container>div {
width: 80%;
box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
padding: 20px 20px 0px 20px;
justify-content: space-around;
margin-bottom: 30px;
}
#container>div:hover {
cursor: pointer;
transform: scale(1.05);
transition: all 500ms ease;
}
#container>div>img {
width: 100px;
height: 120px;
padding: 25px 55px;
}
img+h4 {
color: #212121;
font-size: 14px;
}
h4+p {
color: #757575;
font-size: 12px;
/* margin-top: -10px; */
margin-bottom: 10px;
}
h4+p+h4 {
display: inline;
background-color: #1AAB2A;
color: white;
padding: 2px 5px;
border-radius: 2px;
}
h4+div {
display: flex;
font-size: 12px;
color: #757575DE;
margin-top: -8px;
}
h4+div>p:nth-child(2) {
text-decoration: line-through;
margin-right: 10px;
}
h4+div>p:nth-child(2) {
margin-left: 10px;
}
h4+div+div {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: -25px;
}
h4+div+div>p {
font-size: 18px;
color: #212121DE;
}
h4+div+div>p+p {
font-size: 14px;
color: #FF6F61;
font-weight: bold;
}