<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glass Pricing Table</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="pricing">
<div class="card-glass">
<h4>Basic</h4>
<div class="price">$9<span>/mo</span></div>
<ul class="features">
<li>✔ 5 Projects</li>
<li>✔ Basic Support</li>
<li>✔ Community Access</li>
</ul>
<button class="btn-custom">Get Started</button>
</div>
<div class="card-glass">
<h4>Pro</h4>
<div class="price">$29<span>/mo</span></div>
<ul class="features">
<li>✔ 15 Projects</li>
<li>✔ Priority Support</li>
<li>✔ Advanced Features</li>
</ul>
<button class="btn-custom">Choose Plan</button>
</div>
<div class="card-glass">
<h4>Enterprise</h4>
<div class="price">$99<span>/mo</span></div>
<ul class="features">
<li>✔ Unlimited Projects</li>
<li>✔ Dedicated Manager</li>
<li>✔ All Features</li>
</ul>
<button class="btn-custom">Contact Us</button>
</div>
</div>
</body>
</html>
body {
background: linear-gradient(135deg, #ff416c, #ff4b2b);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins', sans-serif;
overflow-x: hidden;
}
.pricing {
display: flex;
flex-wrap: wrap;
gap: 2rem;
justify-content: center;
}
/* Glass Card Base */
.card-glass {
position: relative;
width: 300px;
padding: 2rem;
border-radius: 20px;
backdrop-filter: blur(12px);
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.25);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
color: #fff;
text-align: center;
cursor: pointer;
transform: translateY(30px);
opacity: 0;
animation: slideUp 0.8s forwards;
}
/* Staggered animation delay for each card */
.card-glass:nth-child(1) { animation-delay: 0.2s; }
.card-glass:nth-child(2) { animation-delay: 0.4s; }
.card-glass:nth-child(3) { animation-delay: 0.6s; }
/* Hover Effects */
.card-glass::after {
content: '';
position: absolute;
inset: 0;
border-radius: 20px;
background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
opacity: 0;
transition: opacity 0.4s ease;
}
.card-glass:hover::after {
opacity: 1;
}
.card-glass:hover {
transform: translateY(-10px) scale(1.05);
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
transition: all 0.4s ease;
}
.price {
font-size: 2.5rem;
font-weight: 700;
margin: 1rem 0;
}
.features li {
list-style: none;
padding: 0.4rem 0;
opacity: 0.9;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.card-glass:hover .features li {
transform: translateX(5px);
opacity: 1;
}
.btn-custom {
margin-top: 1rem;
padding: 0.6rem 1.5rem;
border: 2px solid #fff;
border-radius: 30px;
color: #fff;
background: transparent;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-custom:hover {
background: #fff;
color: #ff416c;
box-shadow: 0 0 10px #fff;
transform: scale(1.05);
}
/* Slide-up animation for cards */
@keyframes slideUp {
0% {
transform: translateY(30px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}