category
Page: Homepage


Snippet Code
<style>
.category-grid1 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
max-width: 1545px;
margin: auto;
padding: 20px;
}
.category-card {
position: relative;
border-radius: 20px;
overflow: hidden;
}
.category-card img {
width: 100%;
height: 585px;
object-fit: cover;
display: block;
}
.category-content {
position: absolute;
bottom: 30px;
left: 30px;
color: #fff;
}
.category-content h2 {
font-size: 28px;
margin-bottom: 8px;
color: white;
font-weight: bolder;
font-family: Quicksand, sans-serif;
}
.category-content span {
border-bottom: 1px solid #fff;
font-size: 20px;
color: white;
}
.category-content a {
font-size: 16px;
color: #fff;
text-decoration: none;
border-bottom: 1px solid #fff;
}
.category-card::after {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.15);
}
/* Hover Effect */
/* .category-card:hover img {
transform: scale(1.05);
transition: 0.4s ease;
} */
/* Responsive */
@media (max-width: 768px) {
.category-grid1 {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
margin: auto;
padding: 10px;
}
.category-card img {
width: 100%;
height: 500px;
object-fit: cover;
display: block;
}
.category-content h2 {
font-size: 22px;
}
}
</style>
<div class="category-grid1">
<!-- Left Card -->
<a href="/collections/printed-kurta" class="category-card">
<img src="https://cdn.shopify.com/s/files/1/0671/7161/4804/files/13.png?v=1768216511"
alt="Designer Kurta Set">
<div class="category-content">
<h2>Printed Kurta</h2>
<span>Shop Now</span>
</div>
</a>
<!-- Right Card -->
<a href="/collections/embroidery-kurta" class="category-card">
<img src="https://cdn.shopify.com/s/files/1/0671/7161/4804/files/14.png?v=1768216511"
alt="Kurta Jacket Set">
<div class="category-content">
<h2>Embroidery Kurta</h2>
<span>Shop Now</span>
</div>
</a>
</div>