Here's a highly inconsistent website design where each page has a completely different look and feel. The HTML structure allows you to navigate between "pages" within the same document using anchor links.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inconsistency Showcase</title>
<style>
/* Reset and common styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
}
.page {
min-height: 100vh;
display: none;
padding: 20px;
}
.page:target {
display: block;
}
/* Default page shown when no hash */
#home {
display: block;
}
/* HOME PAGE - Minimalist */
#home {
background-color: #f8f8f8;
font-family: 'Helvetica', sans-serif;
text-align: center;
}
#home h1 {
font-size: 3rem;
margin: 100px 0 50px;
color: #333;
}
#home .nav-button {
display: inline-block;
padding: 10px 20px;
margin: 10px;
background-color: #333;
color: white;
text-decoration: none;
border-radius: 5px;
transition: transform 0.2s;
}
#home .nav-button:hover {
transform: scale(1.05);
}
/* ABOUT PAGE - 90s Retro */
#about {
background-color: #00FFFF;
font-family: 'Comic Sans MS', cursive;
color: #FF00FF;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="50" height="50" x="0" y="0" fill="%23ffff00"/><rect width="50" height="50" x="50" y="50" fill="%23ffff00"/></svg>');
}
#about h1 {
font-size: 4rem;
text-shadow: 3px 3px 0 #000;
text-align: center;
margin-bottom: 30px;
animation: blink 1s infinite;
}
#about p {
font-size: 1.5rem;
text-align: center;
margin-bottom: 20px;
}
#about .nav-button {
display: block;
width: 200px;
margin: 20px auto;
padding: 15px;
background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
color: white;
text-decoration: none;
text-align: center;
border: 3px dashed black;
font-weight: bold;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
/* SERVICES PAGE - Corporate Boring */
#services {
background-color: #ffffff;
font-family: 'Times New Roman', serif;
color: #333333;
padding: 50px 20%;
}
#services h1 {
font-size: 2rem;
color: #003366;
border-bottom: 1px solid #cccccc;
padding-bottom: 10px;
margin-bottom: 30px;
}
#services .service-item {
margin-bottom: 30px;
}
#services h2 {
color: #003366;
font-size: 1.5rem;
margin-bottom: 10px;
}
#services p {
line-height: 1.6;
color: #666;
}
#services .nav-button {
display: inline-block;
padding: 8px 15px;
background-color: #003366;
color: white;
text-decoration: none;
font-size: 0.9rem;
margin-right: 10px;
}
/* CONTACT PAGE - Brutalist */
#contact {
background-color: #000;
color: #fff;
font-family: 'Courier New', monospace;
padding: 50px;
}
#contact h1 {
font-size: 5rem;
text-transform: uppercase;
letter-spacing: -5px;
margin-bottom: 50px;
transform: skew(-5deg);
}
#contact form {
max-width: 600px;
margin: 0 auto;
}
#contact input, #contact textarea {
width: 100%;
padding: 20px;
margin-bottom: 20px;
background-color: #000;
border: 2px solid #fff;
color: #fff;
font-family: 'Courier New', monospace;
font-size: 1.2rem;
}
#contact button {
background-color: #fff;
color: #000;
border: none;
padding: 20px 40px;
font-size: 1.5rem;
cursor: pointer;
font-weight: bold;
transform: rotate(-2deg);
}
#contact .nav-links {
margin-top: 50px;
display: flex;
justify-content: space-between;
}
#contact .nav-button {
color: #fff;
text-decoration: none;
border-bottom: 2px solid #fff;
padding: 5px;
font-size: 1.2rem;
text-transform: uppercase;
}
/* GALLERY PAGE - Skeuomorphic */
#gallery {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="%23f5f5dc"/><path d="M0,0 L200,200 M200,0 L0,200" stroke="%23d3d3d3" stroke-width="1"/></svg>');
font-family: 'Georgia', serif;
padding: 30px;
}
#gallery h1 {
text-align: center;
color: #8B4513;
font-size: 2.5rem;
text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
margin-bottom: 40px;
}
#gallery .photo-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 40px;
}
#gallery .photo-frame {
background-color: white;
padding: 10px;
box-shadow: 0 0 5px rgba(0,0,0,0.3), 0 0 20px rgba(0,0,0,0.1);
transform: rotate(random(-5deg, 5deg));
}
#gallery .photo-frame div {
height: 150px;
background-color: #ddd;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
color: #888;
}
#gallery .nav-container {
text-align: center;
}
#gallery .nav-button {
display: inline-block;
padding: 10px 20px;
margin: 10px;
background: linear-gradient(to bottom, #f0f0f0, #d5d5d5);
border: 1px solid #ccc;
border-radius: 5px;
color: #333;
text-decoration: none;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
#gallery .nav-button:active {
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
background: linear-gradient(to bottom, #d5d5d5, #f0f0f0);
}
</style>
</head>
<body>
<!-- HOME PAGE -->
<div id="home" class="page">
<h1>Welcome to Inconsistency</h1>
<p>Each page has a completely different design aesthetic.</p>
<div class="nav-container">
<a href="#about" class="nav-button">About</a>
<a href="#services" class="nav-button">Services</a>
<a href="#contact" class="nav-button">Contact</a>
<a href="#gallery" class="nav-button">Gallery</a>
</div>
</div>
<!-- ABOUT PAGE -->
<div id="about" class="page">
<h1>ABOUT US!!!</h1>
<p>Welcome to our TOTALLY RADICAL website from the 90s!</p>
<p>We've been making AWESOME websites since 1996!</p>
<marquee scrollamount="10">★★★ UNDER CONSTRUCTION ★★★ PLEASE VISIT AGAIN SOON ★★★</marquee>
<div class="nav-container">
<a href="#home" class="nav-button">HOME PAGE</a>
<a href="#services" class="nav-button">OUR SERVICES</a>
<a href="#contact" class="nav-button">CONTACT US NOW!!!</a>
<a href="#gallery" class="nav-button">CHECK OUT OUR PICS</a>
</div>
</div>
<!-- SERVICES PAGE -->
<div id="services" class="page">
<h1>Our Professional Services</h1>
<div class="service-item">
<h2>Strategic Consulting</h2>
<p>Our team of experienced professionals provides comprehensive strategic consulting services to help your business achieve its goals and maximize ROI.</p>
</div>
<div class="service-item">
<h2>Implementation Solutions</h2>
<p>We offer end-to-end implementation solutions tailored to your specific business needs, ensuring seamless integration with your existing systems.</p>
</div>
<div class="service-item">
<h2>Ongoing Support</h2>
<p>Our dedicated support team is available to assist you with any issues or questions you may have, providing timely and effective solutions.</p>
</div>
<div class="nav-container">
<a href="#home" class="nav-button">Home</a>
<a href="#about" class="nav-button">About Us</a>
<a href="#contact" class="nav-button">Contact Us</a>
<a href="#gallery" class="nav-button">View Gallery</a>
</div>
</div>
<!-- CONTACT PAGE -->
<div id="contact" class="page">
<h1>CONTACT_US</h1>
<form>
<input type="text" placeholder="YOUR NAME">
<input type="email" placeholder="YOUR EMAIL">
<textarea rows="5" placeholder="YOUR MESSAGE"></textarea>
<button type="button">SUBMIT</button>
</form>
<div class="nav-links">
<a href="#home" class="nav-button">home</a>
<a href="#about" class="nav-button">about</a>
<a href="#services" class="nav-button">services</a>
<a href="#gallery" class="nav-button">gallery</a>
</div>
</div>
<!-- GALLERY PAGE -->
<div id="gallery" class="page">
<h1>Our Photo Gallery</h1>
<div class="photo-grid">
<div class="photo-frame">
<div>Photo 1</div>
</div>
<div class="photo-frame">
<div>Photo 2</div>
</div>
<div class="photo-frame">
<div>Photo 3</div>
</div>
<div class="photo-frame">
<div>Photo 4</div>
</div>
<div class="photo-frame">
<div>Photo 5</div>
</div>
<div class="photo-frame">
<div>Photo 6</div>
</div>
</div>
<div class="nav-container">
<a href="#home" class="nav-button">Return Home</a>
<a href="#about" class="nav-button">Learn About Us</a>
<a href="#services" class="nav-button">View Services</a>
<a href="#contact" class="nav-button">Get in Touch</a>
</div>
</div>
<script>
// If no hash is present, show home page
if (!window.location.hash) {
window.location.hash = 'home';
}
</script>
</body>
</html>
Would you like me to explain or break down this code?