Our Mission School
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 - School Name</title> </head> <body> <section class="mission-section"> <div class="section-header"> <h2>Our Mission</h2> <p>Guiding principles that define who we are and what we strive to achieve for our students</p> </div> <div class="mission-container"> <div class="mission-card"> <div class="card-header"> <i class="fa fa-graduation-cap"></i> <h3>Academic Excellence</h3> </div> <div class="card-body"> <p>We are committed to providing the highest quality education that challenges students to reach their full academic potential. Our rigorous curriculum is designed to foster critical thinking, creativity, and a lifelong love of learning.</p> </div> </div> <div class="mission-card"> <div class="card-header"> <i class="fa fa-lightbulb"></i> <h3>Character Development</h3> </div> <div class="card-body"> <p>We nurture the development of strong moral character, emphasizing values such as integrity, respect, responsibility, and compassion. Our students learn to become ethical leaders who make positive contributions to society.</p> </div> </div> <div class="mission-card"> <div class="card-header"> <i class="fa fa-heart"></i> <h3>Inclusive Community</h3> </div> <div class="card-body"> <p>We celebrate diversity and foster an inclusive environment where every student feels valued and supported. Our school community works together to create a safe, welcoming space for all to learn and grow.</p> </div> </div> </div> </section> </body> </html>
CSS
:root { --primary-red: #e63946; --primary-blue: #1d3557; --light-blue: #a8dadc; --white: #f1faee; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #f8f9fa; color: #333; line-height: 1.6; } .mission-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; } .section-header { text-align: center; margin-bottom: 40px; } .section-header h2 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 15px; position: relative; display: inline-block; } .section-header h2:after { content: ''; position: absolute; width: 70px; height: 4px; background: var(--primary-red); bottom: -10px; left: 50%; transform: translateX(-50%); } .section-header p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto; } .mission-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; } .mission-card { flex: 1 1 300px; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .mission-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); } .card-header { background: linear-gradient(135deg, var(--primary-blue), var(--primary-red)); color: white; padding: 20px; text-align: center; } .card-header i { font-size: 2.5rem; margin-bottom: 15px; display: block; } .card-header h3 { font-size: 1.5rem; margin-bottom: 10px; } .card-body { padding: 25px; } .card-body p { margin-bottom: 15px; color: #555; } @media (max-width: 768px) { .section-header h2 { font-size: 2rem; } .mission-card { flex: 1 1 100%; } } /* Font Awesome for icons - you can link to the actual CDN in your project */ .fa { display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; } .fa-graduation-cap:before { content: "?"; } .fa-lightbulb:before { content: "?"; } .fa-heart:before { content: "❤️"; }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen