-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcartindex.html
More file actions
129 lines (114 loc) · 3.09 KB
/
cartindex.html
File metadata and controls
129 lines (114 loc) · 3.09 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cart Page</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
background-image: url(https://img.freepik.com/free-vector/3d-style-indian-currency-rupee-sign-white-background-design_1017-44530.jpg);
background-size: 10%;
}
.cart-container {
width: 80%;
margin: 50px auto;
padding: 20px;
background: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
}
h1 {
text-align: center;
color: #333;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th,
td {
text-align: left;
padding: 12px;
border: 1px solid #ddd;
}
th {
background-color: #f4f4f9;
color: #333;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
tr:hover {
background-color: #f1f1f1;
}
.total {
font-weight: bold;
}
.cart-button {
text-align: center;
margin-top: 20px;
}
.cart-button button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
}
.cart-button button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="cart-container">
<h1>Your Shopping Cart</h1>
<table>
<thead>
<tr>
<th>Book Name</th>
<th>Price</th>
<th>Quantity</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data Structure Using C </td>
<td>₹ 611 </td>
<td>1</td>
<td>₹ 611</td>
</tr>
<tr>
<td>How To Talk To Anyone </td>
<td>₹ 169</td>
<td>1</td>
<td>₹ 169</td>
</tr>
<tr>
<td>Technical Communication </td>
<td>₹ 412</td>
<td>1</td>
<td>₹ 412</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3" class="total">Total</td>
<td>₹ 1192</td>
</tr>
</tfoot>
</table>
<div class="cart-button">
<a href="#"><button>Click to Pay</a>
</div>
</div>
</body>
</html>