Why Choose Our Hotels
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>Why Choose Our Hotel</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="why-choose-us"> <div class="floating-elements"> <div class="floating-element" style="width: 100px; height: 100px; top: 10%; left: 5%;"></div> <div class="floating-element" style="width: 150px; height: 150px; top: 70%; left: 80%;"></div> <div class="floating-element" style="width: 80px; height: 80px; top: 30%; left: 70%;"></div> <div class="floating-element" style="width: 120px; height: 120px; top: 80%; left: 10%;"></div> </div> <div class="section-header"> <h2>Why Choose Our Hotel</h2> <p>Experience unparalleled luxury and cutting-edge technology designed to make your stay unforgettable</p> </div> <div class="features-container"> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-robot"></i> </div> <h3>AI-Powered Service</h3> <p>Our advanced AI concierge is available 24/7 to cater to your every need, from room service to local recommendations.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-spa"></i> </div> <h3>Smart Luxury Rooms</h3> <p>Experience rooms that adapt to your preferences with mood lighting, temperature control, and personalized ambiance.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-shield-alt"></i> </div> <h3>Biometric Security</h3> <p>State-of-the-art facial recognition and fingerprint access ensure your safety and privacy throughout your stay.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-wifi"></i> </div> <h3>Quantum WiFi</h3> <p>Enjoy the world's fastest hotel internet with our quantum-encrypted network, perfect for business or streaming.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-leaf"></i> </div> <h3>Sustainable Luxury</h3> <p>Our eco-conscious design combines luxury with sustainability, featuring energy-neutral architecture.</p> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-map-marked-alt"></i> </div> <h3>Prime Location</h3> <p>Centrally located with holographic navigation to the city's best attractions, business centers, and transport hubs.</p> </div> </div> </section> </body> </html>
CSS
:root { --primary-blue: #0066ff; --dark-blue: #003399; --light-blue: #e6f0ff; --white: #ffffff; --shadow: 0 10px 30px rgba(0, 102, 255, 0.2); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: var(--white); color: #333; } .why-choose-us { padding: 80px 5%; background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%); position: relative; overflow: hidden; } .why-choose-us::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 200%; background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%); animation: pulse 15s infinite alternate; } @keyframes pulse { 0% { transform: scale(1); opacity: 0.1; } 100% { transform: scale(1.2); opacity: 0.3; } } .section-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; } .section-header h2 { font-size: 2.5rem; color: var(--dark-blue); margin-bottom: 20px; font-weight: 700; position: relative; display: inline-block; } .section-header h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary-blue); border-radius: 2px; animation: underline-grow 1s ease-out; } @keyframes underline-grow { 0% { width: 0; } 100% { width: 80px; } } .section-header p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto; line-height: 1.6; } .features-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; position: relative; z-index: 2; } .feature-card { background: var(--white); border-radius: 15px; padding: 40px 30px; box-shadow: var(--shadow); transition: all 0.5s ease; position: relative; overflow: hidden; text-align: center; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 102, 255, 0.3); } .feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; } .feature-card:hover::before { transform: scaleX(1); } .feature-icon { width: 80px; height: 80px; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); border-radius: 50%; color: var(--white); font-size: 2rem; transition: all 0.5s ease; position: relative; } .feature-card:hover .feature-icon { transform: rotateY(180deg); box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3); } .feature-icon i { transition: all 0.5s ease; } .feature-card:hover .feature-icon i { transform: scale(1.2); } .feature-card h3 { font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 15px; font-weight: 600; } .feature-card p { color: #666; line-height: 1.6; font-size: 1rem; } .floating-elements { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: 1; } .floating-element { position: absolute; background: rgba(0, 102, 255, 0.1); border-radius: 50%; animation: float 15s infinite linear; } @keyframes float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-50px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } } @media (max-width: 768px) { .section-header h2 { font-size: 2rem; } .features-container { grid-template-columns: 1fr; } }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen