Modern Purple 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 Purple 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: #f0f0f0; display: flex; justify-content: center; align-items: center; height: 100vh; color: #333; } .footer { background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 50px 20px; width: 100%; position: fixed; bottom: 0; left: 0; box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); z-index: 10; display: flex; justify-content: space-around; flex-wrap: wrap; } .footer .section { display: flex; flex-direction: column; align-items: center; margin: 10px; text-align: center; animation: fadeIn 1s ease-in-out; } .footer h2 { margin-bottom: 10px; font-size: 22px; } .footer form { display: flex; justify-content: center; animation: fadeIn 1.5s ease-in-out; } .footer input[type="email"] { padding: 12px 18px; border: none; border-radius: 25px 0 0 25px; outline: none; width: 220px; transition: transform 0.3s; } .footer input[type="submit"] { padding: 12px 25px; border: none; border-radius: 0 25px 25px 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: 25px; display: flex; justify-content: center; } .footer .social-icons a { color: white; font-size: 22px; margin: 0 12px; 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 .contact { margin-top: 25px; font-size: 15px; animation: fadeIn 2s ease-in-out; } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } </style> </head> <body> <div class="footer"> <div class="section"> <h2>Get in Touch</h2> <form> <input type="email" placeholder="Enter your email" required> <input type="submit" value="Subscribe"> </form> </div> <div class="section"> <h2>Follow Us</h2> <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> <div class="section"> <h2>Contact Info</h2> <div class="contact"> <p>Email: support@example.com</p> <p>Phone: +123 456 7890</p> </div> </div> </div> </body> </html>