Our Travel Services
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>Travel Services</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> </head> <body> <section class="services"> <h2>? Our Travel Services</h2> <p>Explore the world with comfort, safety, and unforgettable experiences.</p> <div class="service-container"> <div class="service-box"> <div class="service-icon"><i class="fas fa-plane-departure"></i></div> <h3>Flight Booking</h3> <p>Affordable and hassle-free flight reservations to your dream destinations.</p> </div> <div class="service-box"> <div class="service-icon"><i class="fas fa-hotel"></i></div> <h3>Hotel Stays</h3> <p>Comfortable stays at premium hotels, resorts, and homestays worldwide.</p> </div> <div class="service-box"> <div class="service-icon"><i class="fas fa-bus"></i></div> <h3>Tour Packages</h3> <p>Customized travel packages designed to give you memorable journeys.</p> </div> <div class="service-box"> <div class="service-icon"><i class="fas fa-car"></i></div> <h3>Car Rentals</h3> <p>Easy and affordable car rental services for sightseeing and local travel.</p> </div> <div class="service-box"> <div class="service-icon"><i class="fas fa-ship"></i></div> <h3>Cruise Trips</h3> <p>Luxury cruise experiences to exotic destinations with premium facilities.</p> </div> <div class="service-box"> <div class="service-icon"><i class="fas fa-passport"></i></div> <h3>Visa Assistance</h3> <p>Fast and reliable visa processing services for international travelers.</p> </div> </div> </section> </body> </html>
CSS
body { margin: 0; font-family: 'Poppins', sans-serif; background: #f4f9ff; } .services { padding: 80px 10%; background: linear-gradient(135deg, #0077b6, #00b4d8); text-align: center; color: #fff; } .services h2 { font-size: 42px; margin-bottom: 12px; font-weight: 700; } .services p { font-size: 18px; margin-bottom: 50px; color: #e0f7ff; } .service-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; } .service-box { background: #ffffff; color: #333; border-radius: 18px; padding: 40px 25px; transition: all 0.4s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.1); position: relative; overflow: hidden; } .service-box::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #00b4d8, #0077b6); transition: 0.4s; z-index: 0; } .service-box:hover::after { top: 0; } .service-icon { font-size: 55px; color: #00b4d8; margin-bottom: 20px; transition: 0.4s; position: relative; z-index: 1; } .service-box h3 { font-size: 22px; margin-bottom: 12px; font-weight: 600; position: relative; z-index: 1; } .service-box p { font-size: 16px; color: #555; position: relative; z-index: 1; } .service-box:hover .service-icon, .service-box:hover h3, .service-box:hover p { color: #fff; }
JavaScript
Output Preview
Desktop
Mobile
Fullscreen