<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="A clean, minimal HTML template"> <title>Barebones Template</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: #f8f9fa; } header { background: #90e0ef; color: white; padding: 2rem 0; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } header h1 { font-size: 2.5rem; font-weight: 300; } nav { background: #fff; padding: 1rem 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); } nav ul { list-style: none; display: flex; justify-content: center; gap: 2rem; } nav a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s ease; } nav a:hover { color: #90e0ef; } main { max-width: 1200px; margin: 3rem auto; padding: 0 2rem; } section { background: white; padding: 2rem; margin-bottom: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } section h2 { color: #90e0ef; margin-bottom: 1rem; font-size: 1.8rem; font-weight: 400; } .button { display: inline-block; padding: 0.8rem 1.5rem; background: #90e0ef; color: white; text-decoration: none; border-radius: 5px; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1rem; } .button:hover { background: #6fc9e0; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(144, 224, 239, 0.3); } footer { background: #90e0ef; color: white; text-align: center; padding: 2rem 0; margin-top: 4rem; } footer p { margin: 0; font-size: 0.9rem; } @media (max-width: 768px) { header h1 { font-size: 2rem; } nav ul { flex-direction: column; gap: 1rem; text-align: center; } main { margin: 2rem auto; padding: 0 1rem; } section { padding: 1.5rem; } } </style> </head> <body> <header> <h1>Barebones Template</h1> </header> <nav> <ul> <li><a href="#home">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#services">Services</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav> <main> <section id="home"> <h2>Welcome</h2> <p>This is a clean, minimal HTML template ready for your content. The design is professional and responsive, featuring the color #90e0ef throughout.</p> <p style="margin-top: 1rem;">Start building your website by editing this template to fit your needs.</p> <button class="button" style="margin-top: 1rem;">Get Started</button> </section> <section id="about"> <h2>About Section</h2> <p>Add your content here. This section demonstrates the basic layout structure with clean styling and proper spacing.</p> </section> <section id="services"> <h2>Services Section</h2> <p>List your services, features, or any other content you need. The template is fully customizable and ready to use.</p> </section> <section id="contact"> <h2>Contact Section</h2> <p>Get in touch with us for more information. This is a placeholder for your contact information or form.</p> <button class="button" style="margin-top: 1rem;">Contact Us</button> </section> </main> <footer> <p>© 2024 Your Company Name. All rights reserved.</p> </footer> <script> // Add your JavaScript here console.log('Barebones template loaded successfully!'); // Smooth scroll for navigation links document.querySelectorAll('nav a').forEach(link => { link.addEventListener('click', function(e) { e.preventDefault(); const target = document.querySelector(this.getAttribute('href')); if (target) { target.scrollIntoView({ behavior: 'smooth' }); } }); }); </script> </body> </html>
Login to leave a comment
No comments yet. Be the first!
View Project
No comments yet. Be the first!