Our Mission Section For GYM
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>GYM - Our Mission</title> </head> <body> <section class="mission-section"> <div class="container"> <div class="section-title"> <h2>Our <span>Mission</span></h2> <p>We're committed to empowering your fitness journey with energy, passion, and excellence</p> </div> <div class="mission-content"> <div class="mission-text"> <h3>Fueling Your Fitness Ambitions</h3> <p>At GYM, we bring energy and motivation to every workout. Our mission is to create an environment where members feel energized, supported, and empowered to achieve their personal best.</p> <div class="mission-points"> <div class="mission-point"> <div class="point-icon">1</div> <div class="point-content"> <h4>Energy & Motivation</h4> <p>Our vibrant atmosphere and expert trainers keep you motivated throughout your fitness journey.</p> </div> </div> <div class="mission-point"> <div class="point-icon">2</div> <div class="point-content"> <h4>Personal Growth</h4> <p>We focus on holistic development - strength, endurance, flexibility, and mental resilience.</p> </div> </div> <div class="mission-point"> <div class="point-icon">3</div> <div class="point-content"> <h4>Community Spirit</h4> <p>Join a community that celebrates every milestone and supports each other's goals.</p> </div> </div> </div> <a href="#" class="btn">Start Your Journey</a> </div> <div class="mission-image"> <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="GYM Mission"> </div> </div> </div> </section> </body> </html>
CSS
/* Global Styles */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #ffffff; color: #333; line-height: 1.6; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } section { padding: 80px 0; } /* Our Mission Section */ .mission-section { background-color: #ffffff; position: relative; overflow: hidden; } .mission-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, #ffd700 0%, #ffffff 100%); } .section-title { text-align: center; margin-bottom: 50px; position: relative; } .section-title h2 { font-size: 2.5rem; font-weight: 800; color: #333; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; } .section-title h2 span { color: #ffd700; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); } .section-title p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto; } .mission-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; } .mission-text { flex: 1; min-width: 300px; padding: 0 20px; } .mission-text h3 { font-size: 1.8rem; color: #333; margin-bottom: 20px; position: relative; display: inline-block; } .mission-text h3::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 60px; height: 4px; background-color: #ffd700; } .mission-text p { font-size: 1.1rem; margin-bottom: 20px; color: #555; } .mission-points { margin-top: 30px; } .mission-point { display: flex; align-items: flex-start; margin-bottom: 25px; background-color: #fff9e6; padding: 20px; border-radius: 8px; transition: all 0.3s ease; border-left: 4px solid #ffd700; } .mission-point:hover { transform: translateX(5px); box-shadow: 0 5px 15px rgba(255,215,0,0.1); } .point-icon { width: 50px; height: 50px; background-color: #ffd700; color: #333; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-right: 20px; flex-shrink: 0; font-size: 1.2rem; font-weight: bold; } .point-content h4 { font-size: 1.3rem; color: #333; margin-bottom: 5px; } .point-content p { font-size: 1rem; color: #666; margin-bottom: 0; } .mission-image { flex: 1; min-width: 300px; padding: 20px; text-align: center; } .mission-image img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border: 5px solid #ffd700; } /* Responsive Styles */ @media (max-width: 768px) { .section-title h2 { font-size: 2rem; } .mission-content { flex-direction: column; } .mission-text, .mission-image { padding: 20px 0; } .mission-text { order: 2; } .mission-image { order: 1; } .mission-point { padding: 15px; } } /* Button Styles */ .btn { display: inline-block; padding: 12px 30px; background-color: #ffd700; color: #333; border: none; border-radius: 50px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; margin-top: 20px; box-shadow: 0 4px 0 rgba(200,160,0,0.3); } .btn:hover { transform: translateY(-3px); box-shadow: 0 7px 15px rgba(255,215,0,0.3); background-color: #ffdf00; } .btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(200,160,0,0.3); }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen