100-project-100-days-website/100_projects/64-responsive-glassmorphism-website/index.html

42 lines
1.4 KiB
HTML
Raw Normal View History

2023-04-26 20:10:22 +03:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2023-05-17 08:49:49 +03:00
<title>It's Raining</title>
2023-04-26 20:10:22 +03:00
<link rel="stylesheet" href="style.css">
</head>
<body>
<section>
<header>
2023-05-17 08:49:49 +03:00
<a href="#" class="logo">It's Raining.</a>
2023-04-26 20:10:22 +03:00
<div class="toggle" onclick="menuToggle();"></div>
</header>
<div class="glass"></div>
<div class="content">
<h2>Hapiness...<br><span>Crystal clear ocean water.</h2>
</div>
<video src="images/rain.mp4"autoplay muted loop></video>
<ul class="sci">
<li style="--i:1"><a href="#">Snapchat</a></li>
<li style="--i:2"><a href="#">Twitter</a></li>
<li style="--i:3"><a href="#">Instgram</a></li>
</ul>
<ul class="navigation">
<li style="--i:1"><a href="#">Home</a></li>
<li style="--i:2"><a href="#">About</a></li>
<li style="--i:3"><a href="#">Tour</a></li>
<li style="--i:4"><a href="#">Contact</a></li>
</ul>
</section>
<script type="text/javascript">
function menuToggle(){
const toggleMenu = document.querySelector('.toggle');
const section = document.querySelector('section');
toggleMenu.classList.toggle('active')
section.classList.toggle('active')
}
</script>
</body>
2023-05-17 08:49:49 +03:00
</html>