Modern 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>Modern Footer</title> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet"> <style> body { margin: 0; font-family: Arial, sans-serif; background-color: #e9ecef; display: flex; justify-content: center; align-items: center; height: 100vh; color: #333; } .footer { background: linear-gradient(120deg, #ff7e5f, #feb47b); color: white; padding: 60px 20px; width: 100%; position: fixed; bottom: 0; left: 0; box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); z-index: 10; text-align: center; } .footer .content { display: flex; flex-direction: column; align-items: center; text-align: center; } .footer h1 { margin-bottom: 10px; font-size: 28px; animation: fadeInDown 1s ease-in-out; } .footer p { margin: 5px 0 30px; font-size: 18px; animation: fadeInDown 1.5s ease-in-out; } .footer form { display: flex; justify-content: center; animation: fadeInDown 2s ease-in-out; } .footer input[type="email"] { padding: 15px 20px; border: none; border-radius: 50px 0 0 50px; outline: none; width: 300px; transition: transform 0.3s; } .footer input[type="submit"] { padding: 15px 25px; border: none; border-radius: 0 50px 50px 0; background-color: #ff6584; color: white; cursor: pointer; transition: background-color 0.3s; } .footer input[type="submit"]:hover { background-color: #ff3d6f; } .footer input[type="email"]:focus { transform: scale(1.05); } .footer .social-icons { margin-top: 30px; display: flex; justify-content: center; } .footer .social-icons a { color: white; font-size: 25px; margin: 0 15px; transition: transform 0.3s, color 0.3s; } .footer .social-icons a:hover { transform: scale(1.2); color: #ff6584; } .footer .social-icons a:active { transform: scale(0.9); } .footer .credit { margin-top: 30px; font-size: 16px; animation: fadeInDown 2.5s ease-in-out; } @keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } } </style> </head> <body> <div class="footer"> <div class="content"> <h1>Join Our Community</h1> <p>Sign up for our newsletter to stay updated.</p> <form> <input type="email" placeholder="Enter your email" required> <input type="submit" value="Join Now"> </form> <div class="social-icons"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> <a href="#"><i class="fab fa-linkedin-in"></i></a> </div> <div class="credit"> <p>Crafted with ❤️ by YourName</p> </div> </div> </div> </body> </html>