Why Choose Premium Auto
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 Us - Premium Auto Showroom</title> <!-- Font Awesome for icons --> <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="section-header"> <h2>Why Choose Premium Auto</h2> <p>Discover the exceptional service and quality that sets us apart from the competition</p> </div> <div class="features-container"> <!-- Feature 1 --> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-car"></i> </div> <h3>Extensive Inventory</h3> <p>We offer the largest selection of new and pre-owned vehicles in the region, ensuring you find your perfect match.</p> </div> <!-- Feature 2 --> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-hand-holding-usd"></i> </div> <h3>Competitive Pricing</h3> <p>Our transparent pricing and regular promotions guarantee you get the best value for your investment.</p> </div> <!-- Feature 3 --> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-user-tie"></i> </div> <h3>Expert Staff</h3> <p>Our knowledgeable team provides personalized service to help you make an informed decision.</p> </div> <!-- Feature 4 --> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-shield-alt"></i> </div> <h3>Warranty Protection</h3> <p>All our vehicles come with comprehensive warranty options for your peace of mind.</p> </div> <!-- Feature 5 --> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-tools"></i> </div> <h3>Service Center</h3> <p>State-of-the-art service facilities staffed by factory-trained technicians.</p> </div> <!-- Feature 6 --> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-star"></i> </div> <h3>Customer Satisfaction</h3> <p>With a 98% satisfaction rate, we're committed to exceeding your expectations.</p> </div> </div> </section> </body> </html>
CSS
:root { --primary-color: #FFD700; /* Gold/yellow */ --secondary-color: #FFFFFF; /* White */ --text-color: #333333; --shadow-color: rgba(0, 0, 0, 0.1); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #f9f9f9; } .why-choose-us { padding: 60px 20px; max-width: 1200px; margin: 0 auto; } .section-header { text-align: center; margin-bottom: 50px; } .section-header h2 { font-size: 2.5rem; color: var(--text-color); margin-bottom: 15px; position: relative; display: inline-block; } .section-header h2::after { content: ''; position: absolute; width: 70px; height: 4px; background-color: var(--primary-color); bottom: -10px; left: 50%; transform: translateX(-50%); } .section-header p { color: #666; font-size: 1.1rem; max-width: 700px; margin: 0 auto; line-height: 1.6; } .features-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; } .feature-card { background-color: var(--secondary-color); border-radius: 10px; padding: 30px; width: 100%; max-width: 350px; box-shadow: 0 5px 15px var(--shadow-color); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px var(--shadow-color); } .feature-icon { width: 80px; height: 80px; background-color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; } .feature-icon i { font-size: 2.5rem; color: var(--secondary-color); } .feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-color); } .feature-card p { color: #666; line-height: 1.6; font-size: 1rem; } /* Responsive adjustments */ @media (max-width: 768px) { .section-header h2 { font-size: 2rem; } .feature-card { max-width: 100%; } } @media (max-width: 480px) { .section-header h2 { font-size: 1.8rem; } .why-choose-us { padding: 40px 15px; } .feature-card { padding: 25px 20px; } }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen