admin管理员组文章数量:1130349
永夜星河主题网页开发HTML,CSS,JS
永夜星河主题网页开发 HTML,CSS,JS
界面展示
完整代码
代码语言:javascript代码运行次数:0运行复制<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>永夜星河 | 最火电视剧</title>
<meta name="description" content="《永夜星河》正在热播!虞书欣、丁禹兮领衔主演,带你体验奇幻捉妖冒险!">
<link rel="stylesheet" href=".0.0/css/all.min.css">
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #1a1a2e;
color: #fff;
}
header {
text-align: center;
padding: 20px;
background: linear-gradient(to bottom, #ff5f6d, #ffc371);
}
header h1 {
margin: 0;
font-size: 2.5em;
}
header p {
margin: 10px 0 0;
font-size: 1.2em;
}
.hero {
text-align: center;
padding: 50px 20px;
background: url('.jpg') no-repeat center/cover;
color: #fff;
}
.hero h2 {
font-size: 2em;
}
.hero button {
margin-top: 20px;
padding: 15px 30px;
font-size: 1em;
background-color: #ff5f6d;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
}
.hero button:hover {
background-color: #ff2e4a;
}
.share {
text-align: center;
margin-top: 30px;
}
.share p {
margin-bottom: 10px;
}
.share .icons i {
font-size: 2em;
margin: 0 10px;
cursor: pointer;
transition: color 0.3s;
}
.share .icons i:hover {
color: #ff5f6d;
}
footer {
text-align: center;
padding: 20px;
background-color: #0f0f1c;
}
footer p {
margin: 0;
font-size: 0.9em;
}
</style>
</head>
<body>
<header>
<h1>《永夜星河》热播中!</h1>
<p>虞书欣 & 丁禹兮携手开启奇幻冒险之旅</p>
</header>
<section class="hero">
<h2>你心目中的奇幻之旅正在展开!</h2>
<p>即刻点击观看,体验震撼的视觉盛宴!</p>
<button onclick="window.location.href='/'">立即观看</button>
</section>
<section class="share">
<p>分享给好友,一起追剧!</p>
<div class="icons">
<i class="fab fa-weibo" onclick="window.open('/', '_blank')"></i>
<i class="fab fa-wechat"></i>
<i class="fab fa-facebook" onclick="window.open('/', '_blank')"></i>
<i class="fab fa-twitter" onclick="window.open('/', '_blank')"></i>
</div>
</section>
<footer>
<p>© 2024 永夜星河 | 腾讯视频独家播出</p>
</footer>
</body>
</html>功能特点:
- 动态背景与吸引人的标题:使用渐变背景和大标题突出重点。
- 一键观看按钮:引导用户点击观看,提升流量转化。
- 社交分享按钮:包含微博、微信、Facebook、Twitter分享图标,用户可直接分享链接。
- 响应式设计:支持多设备浏览体验。
嗨,我是命运之光。如果你觉得我的分享有价值,不妨通过以下方式表达你的支持:
永夜星河主题网页开发HTML,CSS,JS
永夜星河主题网页开发 HTML,CSS,JS
界面展示
完整代码
代码语言:javascript代码运行次数:0运行复制<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>永夜星河 | 最火电视剧</title> <meta name="description" content="《永夜星河》正在热播!虞书欣、丁禹兮领衔主演,带你体验奇幻捉妖冒险!"> <link rel="stylesheet" href=".0.0/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; background-color: #1a1a2e; color: #fff; } header { text-align: center; padding: 20px; background: linear-gradient(to bottom, #ff5f6d, #ffc371); } header h1 { margin: 0; font-size: 2.5em; } header p { margin: 10px 0 0; font-size: 1.2em; } .hero { text-align: center; padding: 50px 20px; background: url('.jpg') no-repeat center/cover; color: #fff; } .hero h2 { font-size: 2em; } .hero button { margin-top: 20px; padding: 15px 30px; font-size: 1em; background-color: #ff5f6d; border: none; border-radius: 5px; color: white; cursor: pointer; transition: background-color 0.3s; } .hero button:hover { background-color: #ff2e4a; } .share { text-align: center; margin-top: 30px; } .share p { margin-bottom: 10px; } .share .icons i { font-size: 2em; margin: 0 10px; cursor: pointer; transition: color 0.3s; } .share .icons i:hover { color: #ff5f6d; } footer { text-align: center; padding: 20px; background-color: #0f0f1c; } footer p { margin: 0; font-size: 0.9em; } </style> </head> <body> <header> <h1>《永夜星河》热播中!</h1> <p>虞书欣 & 丁禹兮携手开启奇幻冒险之旅</p> </header> <section class="hero"> <h2>你心目中的奇幻之旅正在展开!</h2> <p>即刻点击观看,体验震撼的视觉盛宴!</p> <button onclick="window.location.href='/'">立即观看</button> </section> <section class="share"> <p>分享给好友,一起追剧!</p> <div class="icons"> <i class="fab fa-weibo" onclick="window.open('/', '_blank')"></i> <i class="fab fa-wechat"></i> <i class="fab fa-facebook" onclick="window.open('/', '_blank')"></i> <i class="fab fa-twitter" onclick="window.open('/', '_blank')"></i> </div> </section> <footer> <p>© 2024 永夜星河 | 腾讯视频独家播出</p> </footer> </body> </html>功能特点:
- 动态背景与吸引人的标题:使用渐变背景和大标题突出重点。
- 一键观看按钮:引导用户点击观看,提升流量转化。
- 社交分享按钮:包含微博、微信、Facebook、Twitter分享图标,用户可直接分享链接。
- 响应式设计:支持多设备浏览体验。
嗨,我是命运之光。如果你觉得我的分享有价值,不妨通过以下方式表达你的支持:
本文标签: 永夜星河主题网页开发HTMLcssJS
版权声明:本文标题:永夜星河主题网页开发HTML,CSS,JS 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1754251236a2661718.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论