programko/wwwuloha2.html
2024-03-21 10:25:45 +01:00

119 lines
3.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bambusové ponožky</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #b9b9b9;
}
header {
background-color: #bba7358f;
color: #fff;
padding: 20px;
text-align: center;
}
nav {
background-color: #444444b7;
padding: 10px;
text-align: center;
}
nav a {
color: #dfd07a;
text-decoration: none;
margin: 0 10px;
}
nav a:hover {
color: rgb(189, 189, 42);
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #585a59;
min-width: 100px;
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
color: #fff;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #363636;
}
section {
padding: 20px;
}
footer {
background-color: #333333c7;
color: #fff;
text-align: center;
padding: 10px 0;
position: fixed;
width: 100%;
bottom: 0;
}
</style>
</head>
<body>
<header id="top"> <!-- Added id attribute here -->
<h1>Bambusové ponožky od majstra</h1>
</header>
<nav>
<div class="dropdown">
<a href="#top">Domov</a> <!-- Added href pointing to the top -->
<div class="dropdown-content">
<a href="#about">Domov</a> <!-- Change href to point to the "About Us" section -->
<div class="dropdown-content">
<a href="#cheap-socks">Lacnejšie</a> <!-- Change href to point to the "Lacnejšie" section -->
<a href="#">Drahšie</a>
<a href="#">Najdrahšie</a>
</div>
</div>
<div class="dropdown">
<a href="#">O stránke</a>
<div class="dropdown-content">
<a href="#">Sublink 1</a>
<a href="#">Sublink 2</a>
<a href="#">Sublink 3</a>
</div>
</div>
<div class="dropdown">
<a href="#">Kontakty</a>
<div class="dropdown-content">
<a href="#">Sublink 1</a>
<a href="#">Sublink 2</a>
<a href="#">Sublink 3</a>
</div>
</div>
</nav>
<section id="about"> <!-- Added id for the "About Us" section -->
<h2>About Us</h2>
<p>Welcome to our website! We specialize in high-quality bamboo socks.</p>
</section>
<section id="cheap-socks"> <!-- Added id for the "Lacnejšie" section -->
<h2>Cheap Bamboo Socks</h2>
<p>Here you can find affordable bamboo socks:</p>
<ul>
<li><a href="https://example.com/cheap-bamboo-socks-1">Cheap Bamboo Socks 1</a></li>
<li><a href="https://example.com/cheap-bamboo-socks-2">Cheap Bamboo Socks 2</a></li>
<li><a href="https://example.com/cheap-bamboo-socks-3">Cheap Bamboo Socks 3</a></li>
</ul>
</section>
<footer>
&copy; 2024 My Basic Website. All rights reserved.
</footer>
</body>
</html>