Modern Pricing - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Modern Pricing</title> <style> body { font-family: 'Arial', sans-serif; background: #e2e2e2; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .pricing-table { display: flex; gap: 30px; perspective: 1000px; } .pricing-card { background: #fff; border-radius: 15px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); padding: 20px; text-align: center; transition: transform 0.3s; position: relative; width: 300px; height: auto; transform-style: preserve-3d; } .pricing-card:hover { transform: rotateY(15deg); } .pricing-card .header { background: #28a745; color: white; padding: 20px; font-size: 24px; border-radius: 15px 15px 0 0; position: relative; } .pricing-card .price { font-size: 36px; margin: 20px 0; } .pricing-card .features { list-style: none; padding: 0; margin: 0; } .pricing-card .features li { padding: 10px; border-top: 1px solid #ddd; } .pricing-card .features li:first-child { border-top: none; } .pricing-card .features li::before { content: '🔹'; margin-right: 10px; color: #28a745; } .pricing-card .cta { background: #28a745; color: white; padding: 15px; border: none; font-size: 18px; text-transform: uppercase; cursor: pointer; border-radius: 10px; transition: background 0.3s; margin-top: 20px; } .pricing-card .cta:hover { background: #218838; } </style> </head> <body> <div class="pricing-table"> <div class="pricing-card"> <div class="header">Basic</div> <div class="price">$15/mo</div> <ul class="features"> <li>Feature A</li> <li>Feature B</li> <li>Feature C</li> </ul> <button class="cta">Choose Plan</button> </div> <div class="pricing-card"> <div class="header">Standard</div> <div class="price">$25/mo</div> <ul class="features"> <li>Feature A</li> <li>Feature B</li> <li>Feature C</li> <li>Feature D</li> </ul> <button class="cta">Choose Plan</button> </div> <div class="pricing-card"> <div class="header">Premium</div> <div class="price">$35/mo</div> <ul class="features"> <li>Feature A</li> <li>Feature B</li> <li>Feature C</li> <li>Feature D</li> <li>Feature E</li> </ul> <button class="cta">Choose Plan</button> </div> </div> <script> document.querySelectorAll('.cta').forEach(button => { button.addEventListener('click', () => { alert('Plan Selected!'); }); }); </script> </body> </html>