Yoga About Section Template
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>Yoga Studio About</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> </head> <body> <section class="yoga-about"> <div class="yoga-header"> <div class="yoga-badge">Find Your Balance</div> <h1>Serenity Yoga Studio</h1> <p class="yoga-tagline">A sanctuary for mind, body, and spirit transformation through authentic yoga practice</p> </div> <div class="yoga-content"> <div class="yoga-story"> <div class="story-content"> <span class="story-title">Our Philosophy</span> <h2>More Than Just Poses</h2> <p>At Serenity, we believe yoga is a journey inward. Our studio was founded on the principle that true wellness begins when movement, breath, and mindfulness align.</p> <p>Our certified instructors guide you through transformative practices that honor traditional yoga while adapting to modern lives. Every class is an opportunity to reconnect with your inner peace.</p> <div class="yoga-pillars"> <div class="pillar"> <div class="pillar-icon"> <i class="fas fa-heart"></i> </div> <div class="pillar-text"> <h4>Mindful Movement</h4> <p>Focus on alignment, breath, and intention</p> </div> </div> <div class="pillar"> <div class="pillar-icon"> <i class="fas fa-leaf"></i> </div> <div class="pillar-text"> <h4>Holistic Approach</h4> <p>Integrating physical, mental, and spiritual wellness</p> </div> </div> <div class="pillar"> <div class="pillar-icon"> <i class="fas fa-hands"></i> </div> <div class="pillar-text"> <h4>Community Focus</h4> <p>Supportive environment for all levels</p> </div> </div> </div> </div> </div> <div class="yoga-visual"> <div class="visual-container"> <div class="floating-yogi"> <div class="yoga-pose pose-1"> <div class="pose-content"> <div class="pose-title">Vinyasa Flow</div> <div class="pose-desc">Dynamic movement with breath</div> </div> </div> <div class="yoga-pose pose-2"> <div class="pose-content"> <div class="pose-title">Meditation</div> <div class="pose-desc">Inner stillness practice</div> </div> </div> </div> <div class="yoga-stats"> <div class="stat"> <span class="stat-number">12+</span> <span class="stat-label">Classes Weekly</span> </div> <div class="stat"> <span class="stat-number">8</span> <span class="stat-label">Certified Instructors</span> </div> <div class="stat"> <span class="stat-number">500+</span> <span class="stat-label">Community Members</span> </div> </div> </div> </div> </div> <div class="yoga-footer"> <p>© 2024 Serenity Yoga Studio. All levels welcome. Begin your journey today.</p> </div> </section> </body> </html>
CSS
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { background: linear-gradient(135deg, #f8f5f2 0%, #f0ebe6 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; } .yoga-about { max-width: 1200px; width: 100%; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(138, 124, 109, 0.1); } .yoga-header { background: linear-gradient(135deg, #8a7c6d 0%, #a89987 100%); padding: 40px; text-align: center; position: relative; overflow: hidden; } .yoga-header::before { content: 'ॐ'; position: absolute; font-size: 180px; opacity: 0.05; right: 40px; top: 50%; transform: translateY(-50%); font-family: serif; } .yoga-badge { display: inline-block; background: rgba(255, 255, 255, 0.15); color: white; padding: 8px 25px; border-radius: 20px; font-size: 13px; font-weight: 500; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; } .yoga-header h1 { color: white; font-size: 3rem; font-weight: 300; margin-bottom: 10px; letter-spacing: 1px; } .yoga-tagline { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; font-weight: 300; max-width: 600px; margin: 0 auto; line-height: 1.6; } .yoga-content { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; } .yoga-story { padding: 50px; background: #fffcf9; display: flex; flex-direction: column; justify-content: center; } .story-content { max-width: 500px; } .story-title { color: #8a7c6d; font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; display: block; } .story-content h2 { color: #5a5249; font-size: 2.5rem; font-weight: 400; line-height: 1.2; margin-bottom: 25px; } .story-content p { color: #7a7065; line-height: 1.8; margin-bottom: 30px; font-size: 1.05rem; } .yoga-pillars { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; } .pillar { display: flex; align-items: center; gap: 15px; padding: 15px; border-radius: 10px; background: rgba(138, 124, 109, 0.05); transition: all 0.3s ease; } .pillar:hover { background: rgba(138, 124, 109, 0.1); transform: translateX(5px); } .pillar-icon { width: 50px; height: 50px; background: #8a7c6d; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; } .pillar-text h4 { color: #5a5249; font-size: 1.1rem; margin-bottom: 5px; } .pillar-text p { color: #7a7065; font-size: 0.9rem; margin: 0; } .yoga-visual { position: relative; overflow: hidden; background: linear-gradient(45deg, #f5f0eb 0%, #ece6df 100%); } .visual-container { height: 100%; display: flex; align-items: center; justify-content: center; position: relative; } .floating-yogi { position: relative; width: 300px; height: 300px; } .yoga-pose { position: absolute; width: 200px; height: 200px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 35px rgba(138, 124, 109, 0.15); border: 1px solid rgba(138, 124, 109, 0.1); overflow: hidden; } .pose-1 { top: 0; left: 0; animation: floatYoga 6s ease-in-out infinite; background: linear-gradient(135deg, #fff 0%, #f8f5f2 100%); } .pose-2 { bottom: 0; right: 0; animation: floatYoga 7s ease-in-out infinite; animation-delay: 1s; background: linear-gradient(135deg, #f8f5f2 0%, #fff 100%); } .yoga-pose::before { content: ''; position: absolute; width: 100%; height: 100%; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30,50 Q50,30 70,50" stroke="%238a7c6d" stroke-width="2" fill="none"/><circle cx="30" cy="50" r="5" fill="%238a7c6d"/><circle cx="70" cy="50" r="5" fill="%238a7c6d"/></svg>') no-repeat center; opacity: 0.2; } .pose-content { text-align: center; position: relative; z-index: 2; padding: 20px; } .pose-icon { font-size: 2.5rem; color: #8a7c6d; margin-bottom: 15px; display: block; } .pose-title { color: #5a5249; font-size: 1.2rem; margin-bottom: 5px; font-weight: 500; } .pose-desc { color: #7a7065; font-size: 0.9rem; } .yoga-stats { position: absolute; bottom: 40px; left: 0; right: 0; display: flex; justify-content: center; gap: 30px; } .stat { text-align: center; background: white; padding: 20px; border-radius: 12px; box-shadow: 0 10px 25px rgba(138, 124, 109, 0.1); min-width: 120px; } .stat-number { display: block; font-size: 2.2rem; color: #8a7c6d; font-weight: 300; margin-bottom: 5px; } .stat-label { color: #7a7065; font-size: 0.9rem; } .yoga-footer { background: #5a5249; color: rgba(255, 255, 255, 0.8); padding: 25px; text-align: center; font-size: 0.9rem; font-weight: 300; letter-spacing: 0.5px; } @keyframes floatYoga { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Responsive */ @media (max-width: 1000px) { .yoga-content { grid-template-columns: 1fr; } .yoga-header h1 { font-size: 2.5rem; } .story-content h2 { font-size: 2rem; } .yoga-stats { position: relative; bottom: auto; margin-top: 40px; flex-wrap: wrap; } } @media (max-width: 768px) { .yoga-header { padding: 30px 20px; } .yoga-story { padding: 30px; } .floating-yogi { transform: scale(0.8); } }
JavaScript
// Add subtle animation to stats document.addEventListener('DOMContentLoaded', function() { const stats = document.querySelectorAll('.stat-number'); stats.forEach(stat => { const originalText = stat.textContent; const value = parseInt(originalText); let current = 0; const increment = value / 20; const animate = () => { current += increment; if (current >= value) { stat.textContent = originalText; } else { stat.textContent = Math.floor(current) + '+'; setTimeout(animate, 50); } }; // Trigger animation when section is in view const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { animate(); observer.unobserve(entry.target); } }); }, { threshold: 0.5 }); observer.observe(stat.closest('.yoga-about')); }); // Add hover effect to yoga poses const poses = document.querySelectorAll('.yoga-pose'); poses.forEach(pose => { pose.addEventListener('mouseenter', function() { this.style.transform = 'scale(1.05)'; }); pose.addEventListener('mouseleave', function() { this.style.transform = ''; }); }); });
Output Preview
Desktop
Mobile
Fullscreen