Stylish Services Card Section - 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>Stylish Services Card Section</title> <style> /* General Styles */ body { font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #f5f7fa, #c3cfe2); margin: 0; display: flex; justify-content: center; align-items: center; background-attachment: fixed; flex-direction: column; } .card-section { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 20px; max-width: 1200px; } .card { background: #fff; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); overflow: hidden; width: 300px; transform: scale(1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(0,0,0,0.2); } .card-header { position: relative; height: 200px; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; justify-content: center; align-items: center; } .card-header::after { content: "⭐"; font-size: 50px; position: absolute; top: -25px; right: -25px; animation: rotate 5s infinite linear; } .card-header img { border-radius: 50%; border: 5px solid #fff; width: 100px; height: 100px; object-fit: cover; } .card-content { padding: 20px; text-align: center; } .card-content h3 { margin: 0 0 10px; color: #333; } .card-content p { color: #777; } .card-footer { display: flex; justify-content: space-around; padding: 10px 0; } .card-footer a { color: #667eea; text-decoration: none; font-size: 20px; transition: color 0.3s ease; } .card-footer a:hover { color: #764ba2; } @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Animations */ .slide-up { animation: slideUp 1s ease-out; } @keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Custom Card Styles */ .card.blue .card-header { background: linear-gradient(135deg, #1e3c72, #2a5298); } .card.green .card-header { background: linear-gradient(135deg, #11998e, #38ef7d); } .card.orange .card-header { background: linear-gradient(135deg, #ff8008, #ffc837); } .card.red .card-header { background: linear-gradient(135deg, #ff416c, #ff4b2b); } .card.purple .card-header { background: linear-gradient(135deg, #654ea3, #eaafc8); } .card.blue .card-footer a { color: #1e3c72; } .card.green .card-footer a { color: #11998e; } .card.orange .card-footer a { color: #ff8008; } .card.red .card-footer a { color: #ff416c; } .card.purple .card-footer a { color: #654ea3; } </style> </head> <body> <div class="card-section"> <!-- Original Cards --> <div class="card slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>Web Design 💻</h3> <p>Create stunning and responsive websites.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <div class="card slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>Graphic Design 🎨</h3> <p>Beautiful graphics for your brand.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <div class="card slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>SEO Optimization 📈</h3> <p>Boost your site's visibility on search engines.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <!-- New Cards --> <div class="card blue slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>Content Writing ✍️</h3> <p>Engaging and SEO-friendly content.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <div class="card green slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>Social Media Marketing 📱</h3> <p>Effective campaigns on social media.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <div class="card orange slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>Email Marketing 📧</h3> <p>Targeted and effective email campaigns.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <div class="card red slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>Video Production 🎥</h3> <p>Professional video creation services.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> <div class="card purple slide-up"> <div class="card-header"> <img src="https://via.placeholder.com/100" alt="Service Icon"> </div> <div class="card-content"> <h3>App Development 📱</h3> <p>Custom mobile applications for all platforms.</p> </div> <div class="card-footer"> <a href="#">🔗</a> <a href="#">📧</a> </div> </div> </div> <script> document.addEventListener('DOMContentLoaded', () => { const cards = document.querySelectorAll('.card'); cards.forEach((card, index) => { setTimeout(() => { card.classList.add('slide-up'); }, index * 200); }); }); </script> </body> </html>