Footer Section Blue Theam
Preview
Edit
Download
Run
Download Options
HTML File
Download as .html file
CSS File
Download as .css file
JavaScript File
Download as .js file
Combined HTML
All code in one HTML file
Project ZIP
All files in a ZIP archive
Cancel
HTML
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>OceanView Properties - Real Estate</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> </head> <body> <!-- Footer Section --> <footer class="footer"> <!-- Wave Animation --> <div class="wave"></div> <!-- Floating House --> <img src="https://cdn-icons-png.flaticon.com/512/619/619153.png" alt="House" class="floating-house"> <div class="footer-container"> <!-- About Column --> <div class="footer-column footer-about"> <h3>OceanView Properties</h3> <p>We specialize in luxury waterfront properties across the globe. Our mission is to help you find your dream home with the best service in the industry.</p> <div class="social-links"> <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> <!-- Quick Links Column --> <div class="footer-column"> <h3>Quick Links</h3> <ul class="footer-links"> <li><a href="#">Home</a></li> <li><a href="#">Properties</a></li> <li><a href="#">Agents</a></li> <li><a href="#">Testimonials</a></li> <li><a href="#">Contact</a></li> </ul> </div> <!-- Contact Column --> <div class="footer-column"> <h3>Contact Us</h3> <ul class="contact-info"> <li> <i class="fas fa-map-marker-alt"></i> <span>123 Ocean Drive, Miami, FL 33139</span> </li> <li> <i class="fas fa-phone-alt"></i> <span>+1 (305) 555-1234</span> </li> <li> <i class="fas fa-envelope"></i> <span>info@oceanviewproperties.com</span> </li> <li> <i class="fas fa-clock"></i> <span>Mon-Fri: 9AM - 6PM</span> </li> </ul> </div> <!-- Newsletter Column --> <div class="footer-column"> <h3>Newsletter</h3> <p>Subscribe to our newsletter for the latest property listings and market updates.</p> <form class="newsletter-form"> <input type="email" placeholder="Your email address" required> <button type="submit" class="newsletter-btn"> <i class="far fa-paper-plane"></i> Subscribe </button> </form> </div> </div> <div class="footer-bottom"> <p>© 2023 OceanView Properties. All rights reserved. | <a href="#" style="color: var(--light-blue);">Privacy Policy</a> | <a href="#" style="color: var(--light-blue);">Terms of Service</a></p> </div> </footer> <!-- Font Awesome for icons --> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> </body> </html>
CSS
:root { --primary-blue: #1E90FF; --dark-blue: #0066CC; --light-blue: #87CEFA; --footer-bg: #0A1F44; --text-light: #FFFFFF; --text-gray: #CCCCCC; --shadow: rgba(0, 0, 0, 0.2); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: #F5F5F5; overflow-x: hidden; } /* Footer Section */ .footer { background: var(--footer-bg); color: var(--text-light); padding: 70px 0 30px; position: relative; overflow: hidden; } /* Wave Animation */ .wave { position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%230A1F44" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%230A1F44" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%230A1F44"/></svg>'); background-size: cover; animation: wave 10s linear infinite; } @keyframes wave { 0% { background-position-x: 0; } 100% { background-position-x: 1200px; } } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; position: relative; z-index: 2; } .footer-column { margin-bottom: 30px; } .footer-column h3 { font-size: 1.5rem; margin-bottom: 25px; position: relative; display: inline-block; } .footer-column h3::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 50px; height: 3px; background: var(--primary-blue); border-radius: 3px; } .footer-about p { margin-bottom: 20px; line-height: 1.6; color: var(--text-gray); } .footer-links { list-style: none; } .footer-links li { margin-bottom: 15px; position: relative; padding-left: 20px; transition: all 0.3s ease; } .footer-links li::before { content: '→'; position: absolute; left: 0; color: var(--primary-blue); transition: all 0.3s ease; } .footer-links li:hover { transform: translateX(10px); } .footer-links li:hover::before { color: var(--light-blue); } .footer-links a { color: var(--text-gray); text-decoration: none; transition: color 0.3s ease; } .footer-links a:hover { color: var(--text-light); } .contact-info { list-style: none; } .contact-info li { margin-bottom: 15px; display: flex; align-items: flex-start; color: var(--text-gray); } .contact-info i { color: var(--primary-blue); margin-right: 10px; font-size: 1.1rem; margin-top: 3px; } .newsletter-form { margin-top: 20px; } .newsletter-form input { width: 100%; padding: 12px 15px; margin-bottom: 15px; border: none; border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: var(--text-light); outline: none; transition: all 0.3s ease; } .newsletter-form input::placeholder { color: var(--text-gray); } .newsletter-form input:focus { background: rgba(255, 255, 255, 0.2); box-shadow: 0 0 10px rgba(30, 144, 255, 0.3); } .newsletter-btn { width: 100%; padding: 12px; background: var(--primary-blue); color: var(--text-light); border: none; border-radius: 5px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; } .newsletter-btn:hover { background: var(--dark-blue); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4); } .social-links { display: flex; gap: 15px; margin-top: 20px; } .social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--text-light); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; } .social-links a::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: all 0.5s ease; } .social-links a:hover { background: var(--primary-blue); transform: translateY(-5px); } .social-links a:hover::before { left: 100%; } .footer-bottom { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); position: relative; } .footer-bottom::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 20px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,20 50,10 T100,10" fill="none" stroke="%231E90FF" stroke-width="2"/></svg>') no-repeat; background-size: contain; } .footer-bottom p { color: var(--text-gray); font-size: 0.9rem; } /* Floating House Animation */ .floating-house { position: absolute; bottom: 50px; right: 5%; width: 120px; opacity: 0.2; animation: float 6s ease-in-out infinite; z-index: 1; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } } /* Responsive Styles */ @media (max-width: 768px) { .footer-container { grid-template-columns: 1fr; gap: 30px; } .footer-column h3 { font-size: 1.3rem; } .floating-house { width: 80px; opacity: 0.1; } } @media (max-width: 480px) { .footer { padding: 50px 0 20px; } .newsletter-form { flex-direction: column; } .social-links a { width: 35px; height: 35px; font-size: 0.9rem; } }
JavaScript
// Animation for newsletter form submission document.querySelector('.newsletter-form').addEventListener('submit', function(e) { e.preventDefault(); const btn = this.querySelector('button'); btn.innerHTML = '<i class="fas fa-check"></i> Subscribed!'; btn.style.background = '#4CAF50'; setTimeout(() => { btn.innerHTML = '<i class="far fa-paper-plane"></i> Subscribe'; btn.style.background = 'var(--primary-blue)'; }, 2000); this.reset(); }); // Animate social links on hover const socialLinks = document.querySelectorAll('.social-links a'); socialLinks.forEach(link => { link.addEventListener('mouseenter', function() { this.style.transform = 'translateY(-5px) rotate(5deg)'; }); link.addEventListener('mouseleave', function() { this.style.transform = 'translateY(0) rotate(0)'; }); });
Output Preview
Desktop
Mobile
Fullscreen