Comparison Table
Page: Product Pages (Optimized for Conversions)


Snippet Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Comparison Table</title>
<style>
/* Full-screen Flexbox Centering */
body.unique-body-Abc123 {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
background-color: #f0f2f5;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.comparison-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-width: 900px;
padding: 20px;
}
.comparison-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
background-color: #fff;
border-radius: 10px;
overflow: hidden;
}
.comparison-table th, .comparison-table td {
border: none;
padding: 15px;
text-align: center;
font-size: 14px;
}
.comparison-table th {
background-color: #333;
color: #fff;
font-weight: 600;
text-transform: uppercase;
}
.comparison-table tbody tr {
border-bottom: 1px solid #e0e0e0;
}
.comparison-table tbody tr:last-child {
border-bottom: none;
}
.check {
color: #28a745; /* Green color */
}
.cross {
color: #dc3545; /* Red color */
}
.icon {
font-size: 18px;
}
.comparison-table tbody tr:nth-child(odd) {
background-color: #f9f9f9;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
.comparison-table th, .comparison-table td {
padding: 10px;
font-size: 12px;
}
}
@media screen and (max-width: 480px) {
.comparison-container {
padding: 10px;
}
.comparison-table th, .comparison-table td {
padding: 8px;
font-size: 11px;
}
}
</style>
</head>
<body>
<div class="comparison-container">
<table class="comparison-table">
<thead>
<tr>
<th>Aspect</th>
<th>Your Brand</th>
<th>Competitor</th>
</tr>
</thead>
<tbody>
<tr>
<td>Price</td>
<td>XX</td>
<td>XX</td>
</tr>
<tr>
<td>Features</td>
<td class="icon check">✔️</td>
<td class="icon cross">❌</td>
</tr>
<tr>
<td>Durability</td>
<td class="icon check">✔️</td>
<td class="icon cross">❌</td>
</tr>
<tr>
<td>Warranty</td>
<td class="icon check">✔️</td>
<td class="icon cross">❌</td>
</tr>
<tr>
<td>Customer Service</td>
<td class="icon check">✔️</td>
<td class="icon cross">❌</td>
</tr>
<tr>
<td>Ease of Use</td>
<td class="icon check">✔️</td>
<td class="icon cross">❌</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>