1 Star 0 Fork 0

Chuan/MyHomePage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 2.44 KB
一键复制 编辑 原始数据 按行查看 历史
Chuan 提交于 2024-03-12 13:08 . index
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Chuan Front-End Developer</title>
<link rel="shortcut icon" href="" type="assets/mylogo.ico">
<audio src="bgm/cheng xiansheng.mp3" autoplay loop></audio>
</head>
<body>
<section class="showcase">
<header>
<!-- <div class="boxlogo">
<img src="assets/119-working.png" alt="">
</div> -->
<div class="logo">
<img src="assets/logo1.2.png" />
</div>
<div class="toggle"></div>
</header>
<!-- <video src="assets/boxing.mp4" muted loop autoplay></video> -->
<video src="assets/diqiu.mp4" muted loop autoplay></video>
<div class="overlay"></div>
<div class="text">
<h2>Chuan</h2>
<h3>Front-End Developer</h3>
<p>A life like dust but grateful to the universe</p>
<a href="home/indexs.html">ENTER</a>
</div>
<ul class="social">
<li><a href="#"><img src="assets/qq.png" alt=""></a></li>
<li><a href="#"><img src="assets/weixin.png" alt=""></a></li>
<li><a href="#"><img src="assets/weibo.png" alt=""></a></li>
<li><a href="#"><img src="assets/qq.png" alt=""></a></li>
<li><a href="#"><img src="assets/weixin.png" alt=""></a></li>
<li><a href="#"><img src="assets/weibo.png" alt=""></a></li>
<li><a href="#"><img src="assets/qq.png" alt=""></a></li>
<li><a href="#"><img src="assets/weixin.png" alt=""></a></li>
<li><a href="#"><img src="assets/weibo.png" alt=""></a></li>
</ul>
</section>
<div class="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Introduce</a></li>
<li><a href="#">Coachs</a></li>
<li><a href="#">Lessons</a></li>
<li><a href="#">Destination</a></li>
</ul>
</div>
<script>
const menuToggle = document.querySelector('.toggle');
const showcase = document.querySelector('.showcase');
menuToggle.addEventListener('click', () => {
menuToggle.classList.toggle('active');
showcase.classList.toggle('active');
})
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Chuaniss/my-home-page.git
git@gitee.com:Chuaniss/my-home-page.git
Chuaniss
my-home-page
MyHomePage
master

搜索帮助