Realestate Our Mission Section
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>Our Mission | Real Estate</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> </head> <body> <section class="mission-section"> <!-- Background elements --> <svg class="bg-house bg-house-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg> <svg class="bg-house bg-house-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg> <svg class="bg-house bg-house-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg> <div class="container"> <div class="section-header"> <h2>Our Mission</h2> <p>We are committed to helping you find the perfect property while providing exceptional service and expert guidance throughout your real estate journey.</p> </div> <div class="mission-content"> <div class="mission-card"> <div class="card-icon"> <i class="fas fa-home"></i> </div> <h3>Find Your Dream Home</h3> <p>We help you discover properties that match your lifestyle, preferences, and budget, making your dream home a reality.</p> </div> <div class="mission-card"> <div class="card-icon"> <i class="fas fa-hand-holding-usd"></i> </div> <h3>Maximize Your Investment</h3> <p>Our expert team provides market insights and strategies to ensure you make the most of your real estate investments.</p> </div> <div class="mission-card"> <div class="card-icon"> <i class="fas fa-hands-helping"></i> </div> <h3>Exceptional Service</h3> <p>From the first consultation to closing and beyond, we're dedicated to providing personalized, professional service.</p> </div> </div> </div> </section> </body> </html>
CSS
/* Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #f8f9fa; } .mission-section { padding: 80px 20px; background: linear-gradient(135deg, #0077b6 0%, #03045e 100%); color: white; position: relative; overflow: hidden; } .container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; } .section-header { text-align: center; margin-bottom: 60px; opacity: 0; transform: translateY(30px); animation: fadeInUp 1s ease forwards; } .section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .section-header p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: rgba(255, 255, 255, 0.9); } .mission-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; } .mission-card { flex: 1 1 300px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 15px; padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.5s ease; opacity: 0; transform: translateY(30px); border: 1px solid rgba(255, 255, 255, 0.2); } .mission-card:nth-child(1) { animation: fadeInUp 1s ease 0.3s forwards; } .mission-card:nth-child(2) { animation: fadeInUp 1s ease 0.6s forwards; } .mission-card:nth-child(3) { animation: fadeInUp 1s ease 0.9s forwards; } .mission-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.15); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); } .card-icon { width: 70px; height: 70px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: all 0.3s ease; } .mission-card:hover .card-icon { background: rgba(255, 255, 255, 0.3); transform: scale(1.1); } .card-icon i { font-size: 30px; color: white; } .mission-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #fff; } .mission-card p { color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 0; } /* Background Elements */ .bg-house { position: absolute; opacity: 0.05; z-index: 1; } .bg-house-1 { top: 10%; left: 5%; width: 150px; animation: float 6s ease-in-out infinite; } .bg-house-2 { bottom: 15%; right: 8%; width: 200px; animation: float 8s ease-in-out infinite 2s; } .bg-house-3 { top: 60%; left: 20%; width: 100px; animation: float 5s ease-in-out infinite 1s; } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } /* Responsive Styles */ @media (max-width: 992px) { .mission-card { flex: 1 1 45%; } } @media (max-width: 768px) { .section-header h2 { font-size: 2rem; } .mission-card { flex: 1 1 100%; } .mission-section { padding: 60px 15px; } } @media (max-width: 576px) { .section-header h2 { font-size: 1.8rem; } .section-header p { font-size: 1rem; } .mission-card { padding: 20px; } .card-icon { width: 60px; height: 60px; } .mission-card h3 { font-size: 1.3rem; } }
JavaScript
// Additional animation triggers for scroll document.addEventListener('DOMContentLoaded', function() { // Check if elements are in viewport and animate them const animateOnScroll = function() { const missionSection = document.querySelector('.mission-section'); const sectionPosition = missionSection.getBoundingClientRect().top; const screenPosition = window.innerHeight / 1.3; if (sectionPosition < screenPosition) { missionSection.classList.add('animated'); } }; window.addEventListener('scroll', animateOnScroll); animateOnScroll(); // Trigger on load if already in view }); // Add hover effect to cards const missionCards = document.querySelectorAll('.mission-card'); missionCards.forEach(card => { card.addEventListener('mouseenter', function() { this.style.transform = 'translateY(-10px)'; }); card.addEventListener('mouseleave', function() { this.style.transform = 'translateY(0)'; }); });
Output Preview
Desktop
Mobile
Fullscreen