Why Choose Us 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>Yoga Benefits - Why Us?</title> <link rel="stylesheet" href="newstyles.css"> </head> <body> <!-- ? Why Us Section --> <section class="section-benefits"> <div class="wrapper-benefits"> <h2 class="title-benefits">Why Choose Us?</h2> <p class="desc-benefits"> Experience the best yoga guidance with certified instructors, personalized sessions, and a holistic approach to wellness. Whether you're a beginner or an expert, we have something for you. </p> <div class="grid-benefits"> <div class="card-benefit"> <div class="icon-benefit">?</div> <h3 class="heading-benefit">Certified Trainers</h3> <p class="text-benefit">Our expert instructors bring years of professional experience to guide you.</p> </div> <div class="card-benefit"> <div class="icon-benefit">?♀️</div> <h3 class="heading-benefit">Tailored Programs</h3> <p class="text-benefit">Custom-designed yoga routines to suit all experience levels.</p> </div> <div class="card-benefit"> <div class="icon-benefit">?</div> <h3 class="heading-benefit">Accessible to All</h3> <p class="text-benefit">We welcome individuals from all backgrounds, ages, and fitness levels.</p> </div> <div class="card-benefit"> <div class="icon-benefit">?</div> <h3 class="heading-benefit">Holistic Well-Being</h3> <p class="text-benefit">Our focus is not just physical, but mental and emotional wellness too.</p> </div> </div> </div> </section> </body> </html>
CSS
/* ? General Reset */ * { margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; } /* ? Global Styling */ body { font-family: 'Arial', sans-serif !important; background-color: #0a0a0a !important; color: #ffffff !important; line-height: 1.6 !important; } /* ? Section Wrapper */ .wrapper-benefits { max-width: 1200px !important; margin: 0 auto !important; padding: 20px !important; text-align: center !important; } /* ? Section Styling */ .section-benefits { padding: 80px 20px !important; background: linear-gradient(135deg, #0a0a0a, #222) !important; border-bottom: 2px solid #ff00ff !important; } /* ✨ Heading Glow Effect */ .title-benefits { font-size: 2.8rem !important; font-weight: bold !important; margin-bottom: 20px !important; color: #ff00ff !important; text-transform: uppercase !important; letter-spacing: 2px !important; animation: glow 2s infinite alternate !important; } @keyframes glow { 0% { text-shadow: 0 0 5px #ff00ff, 0 0 15px #ff00ff !important; } 100% { text-shadow: 0 0 10px #ff00ff, 0 0 25px #ff00ff !important; } } /* ? Description Text */ .desc-benefits { font-size: 1.2rem !important; color: #e0e0e0 !important; max-width: 850px !important; margin: 0 auto 50px !important; line-height: 1.8 !important; } /* ? Feature Grid */ .grid-benefits { display: flex !important; justify-content: center !important; flex-wrap: wrap !important; gap: 25px !important; } /* ? Feature Card */ .card-benefit { background: #1a1a1a !important; padding: 25px !important; border-radius: 12px !important; width: 280px !important; text-align: center !important; box-shadow: 0 5px 20px rgba(255, 0, 255, 0.3) !important; transition: transform 0.3s ease, box-shadow 0.3s ease !important; position: relative !important; overflow: hidden !important; } /* ? Hover Effects */ .card-benefit:hover { transform: translateY(-10px) !important; box-shadow: 0 8px 25px rgba(255, 0, 255, 0.6) !important; } .card-benefit::before { content: "" !important; position: absolute !important; width: 150% !important; height: 100% !important; background: rgba(255, 0, 255, 0.1) !important; transform: skewX(-45deg) !important; left: -100% !important; transition: left 0.5s ease-in-out !important; } .card-benefit:hover::before { left: 100% !important; } /* ✨ Icons */ .icon-benefit { font-size: 2.8rem !important; margin-bottom: 15px !important; color: #ff00ff !important; transition: transform 0.3s ease-in-out !important; } /* Rotating Icons on Hover */ .card-benefit:hover .icon-benefit { transform: rotateY(360deg) !important; } /* ? Feature Titles */ .heading-benefit { font-size: 1.6rem !important; color: #ff00ff !important; margin-bottom: 12px !important; font-weight: bold !important; } /* ? Feature Description */ .text-benefit { font-size: 1rem !important; color: #e0e0e0 !important; } /* ? Full Responsiveness */ @media (max-width: 1024px) { .title-benefits { font-size: 2.5rem !important; } .desc-benefits { font-size: 1.1rem !important; } .card-benefit { width: 45% !important; } } @media (max-width: 768px) { .title-benefits { font-size: 2rem !important; } .desc-benefits { font-size: 1rem !important; } .card-benefit { width: 80% !important; } } @media (max-width: 480px) { .title-benefits { font-size: 1.8rem !important; } .desc-benefits { font-size: 0.9rem !important; } .card-benefit { width: 100% !important; } }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen