Elegant Wave Footer - 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>Elegant Wave Footer</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; box-sizing: border-box; background-color: #f4f4f9; } .footer { background: linear-gradient(45deg, #343a40, #212529); color: white; padding: 60px 0; position: relative; overflow: hidden; text-align: center; } .footer .wave { position: absolute; top: -80px; width: 100%; height: 80px; background: url('https://i.imgur.com/1FTqJkj.png') repeat-x; animation: wave 10s linear infinite; } @keyframes wave { from { background-position-x: 0; } to { background-position-x: 1000px; } } .footer h2 { font-size: 2.5em; margin-bottom: 20px; animation: fadeInDown 2s; } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .footer .social-icons a { color: white; margin: 0 15px; font-size: 2em; transition: color 0.3s; display: inline-block; animation: bounceIn 2s; } .footer .social-icons a:hover { color: #17a2b8; } @keyframes bounceIn { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } } .footer .contact-info { margin: 30px 0; } .footer .contact-info p { font-size: 1.2em; line-height: 1.8em; animation: fadeIn 2s; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .footer .copy { margin-top: 40px; font-size: 1em; animation: fadeInUp 2s; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .footer .subscribe-form input[type="email"] { padding: 10px; border: none; border-radius: 50px 0 0 50px; outline: none; width: 300px; max-width: 100%; } .footer .subscribe-form button { padding: 10px; border: none; border-radius: 0 50px 50px 0; background: #17a2b8; color: white; cursor: pointer; transition: background 0.3s; } .footer .subscribe-form button:hover { background: #138496; } .footer .subscribe-form { display: flex; justify-content: center; margin-top: 30px; } </style> </head> <body> <footer class="footer"> <div class="wave"></div> <h2>Stay Connected</h2> <div class="social-icons"> <a href="#" title="Facebook"><i class="fab fa-facebook-f"></i></a> <a href="#" title="Twitter"><i class="fab fa-twitter"></i></a> <a href="#" title="Instagram"><i class="fab fa-instagram"></i></a> <a href="#" title="LinkedIn"><i class="fab fa-linkedin-in"></i></a> <a href="#" title="Youtube"><i class="fab fa-youtube"></i></a> </div> <div class="contact-info"> <p>📍 1234 Street Name, City, Country</p> <p>📞 +123 456 7890</p> <p>📧 info@example.com</p> </div> <div class="subscribe-form"> <input type="email" placeholder="Enter your email"> <button type="submit">Subscribe</button> </div> <div class="copy">© 2024 Your Company. All Rights Reserved.</div> </footer> </body> </html>