-
Notifications
You must be signed in to change notification settings - Fork 0
/
compressor3.html
170 lines (147 loc) · 3.29 KB
/
compressor3.html
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AC Compressor</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<!-- CSS -->
<style>
html, body {
height: 100%;
width: 100%;
margin: 0;
font-family: 'Roboto', sans-serif;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 15px;
display: flex;
}
img{
margin-top: 120px;
width: 500px;
height: 400px;
aspect-ratio: 2/3;
}
/* Columns */
.left-column {
width: 55%;
position: relative;
}
.right-column {
width: 45%;
margin-top: 60px;
}
/* Product Description */
.product-description {
border-bottom: 1px solid #E1E8EE;
margin-bottom: 20px;
}
.product-description span {
font-size: 12px;
color: #358ED7;
letter-spacing: 1px;
text-transform: uppercase;
text-decoration: none;
}
.product-description h1 {
font-weight: 300;
font-size: 52px;
color: #43484D;
letter-spacing: -2px;
}
.product-description p {
font-size: 16px;
font-weight: 300;
color: #86939E;
line-height: 24px;
}
/* Product Price */
.product-price {
display: flex;
align-items: center;
}
.product-price span {
font-size: 26px;
font-weight: 300;
color: #43474D;
margin-right: 20px;
}
#ru{
display: inline-block;
background-color: #8ab6f9;
border-color: transparent;
border-radius: 6px;
font-size: 16px;
color: white;
text-decoration: none;
padding: 12px 30px;
transition: all .5s;
}
#ru:hover {
background-color: #002460;
}
/* Responsive */
@media (max-width: 940px) {
.container {
flex-direction: column;
margin-top: 60px;
}
.left-column,
.right-column {
width: 100%;
}
.left-column img {
width: 300px;
right: 0;
top: -65px;
left: initial;
}
}
@media (max-width: 535px) {
.left-column img {
width: 220px;
top: -85px;
}
}
</style>
<meta name="robots" content="noindex,follow" />
</head>
<body>
<form action="/order6" method="post">
<main class="container">
<!-- Left Column / Product Image -->
<div class="left-column">
<img src="https://5.imimg.com/data5/SELLER/Default/2022/9/JN/DG/BO/53866801/car-ac-compressor.jpg">
</div>
<!-- Right Column -->
<div class="right-column">
<!-- Product Description -->
<div class="product-description">
<span>AC Compressor</span>
<h1>AC Compressor</h1>
<p>The compressor compresses (squeezes) refrigerant into a smaller volume, which raises its pressure and temperature—and subsequently increases its energy efficiency. This process also happens in reverse when it brings down the temperature again after cooling has occurred.</p>
</div>
<!-- Product Configuration -->
<div class="product-configuration">
<!-- Product Pricing -->
<div class="product-price">
<span>Rs. 985</span>
</div>
<br>
<div>
<p>Select quantity:</p>
<input type="number" placeholder="0" id="quantity" name="quantity">
</div>
<br>
<div>
<input type="submit" id="ru" value="Add to Cart">
</div>
</div>
</main>
</form>
</body>
</html>