<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″ />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″/>
<title>Stunning Cards</title>
<style>
body {
margin: 0;
padding: 0;
background: linear-gradient(135deg, #a18cd1, #fbc2eb);
font-family: ‘Poppins’, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow-x: hidden;
}
.cards-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
padding: 40px;
max-width: 1200px;
}
.card {
background: rgba(255, 255, 255, 0.15);
border-radius: 20px;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
width: 300px;
padding: 20px;
color: #fff;
transition: all 0.4s ease;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.card img {
width: 100%;
border-radius: 15px;
margin-bottom: 20px;
height: 180px;
object-fit: cover;
}
.card h3 {
font-size: 1.4rem;
margin-bottom: 10px;
}
.card p {
font-size: 0.95rem;
line-height: 1.5;
color: #f0f0f0;
}
.card a {
display: inline-block;
margin-top: 15px;
padding: 10px 20px;
border-radius: 30px;
background: #ffffff33;
color: white;
text-decoration: none;
font-weight: bold;
transition: background 0.3s ease;
}
.card a:hover {
background: #ffffff55;
}
@media screen and (max-width: 768px) {
.card {
width: 90%;
}
}
</style>
</head>
<body>
<div class=”cards-container”>
<div class=”card”>
<img src=”https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=800&q=80″ alt=”Mountains”>
<h3>Mountain Escape</h3>
<p>Experience serenity in the heart of nature surrounded by majestic peaks.</p>
<a href=”#”>Explore</a>
</div>
<div class=”card”>
<img src=”https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=800&q=80″ alt=”Music”>
<h3>Sound & Soul</h3>
<p>Dive into rhythm and emotion with music that moves the soul.</p>
<a href=”#”>Listen Now</a>
</div>
<div class=”card”>
<img src=”https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=800&q=80″ alt=”Technology”>
<h3>Next Gen Tech</h3>
<p>Discover the innovations that are reshaping the future of our world.</p>
<a href=”#”>Learn More</a>
</div>
</div>
</body>
</html>