Nature Inspired 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>Nature Inspired 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(to bottom, #28a745, #155724); color: white; padding: 60px 0; text-align: center; position: relative; } .footer .leaf { position: absolute; width: 100%; height: 100px; top: -100px; background: url('https://i.imgur.com/0Qmh6Kj.png') repeat-x; animation: wave 5s 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: #a3d2ca; } @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: #a3d2ca; color: white; cursor: pointer; transition: background 0.3s; } .footer .subscribe-form button:hover { background: #7faaa8; } .footer .subscribe-form { display: flex; justify-content: center; margin-top: 30px; } </style> </head> <body> <footer class="footer"> <div class="leaf"></div> <h2>Stay in Touch</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>📍 2468 Green Avenue, Nature City</p> <p>📞 +123 456 7890</p> <p>📧 green@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 Green Company. All Rights Reserved.</div> </footer> </body> </html>