加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
蒋慕思 提交于 2020-12-02 21:05 . update index.html.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>
<link rel="stylesheet" href="./css/APlayer2.css" type="text/css"/>
<link rel="short icon" href="./img/title.png" type="image/x-icon"/>
<title>EasyPlayer</title>
<style type="text/css">
body{
/*background-image: url(img/man2.jpg);*/
background-image: url(https://api.ixiaowai.cn/api/api.php);
background-repeat: no-repeat;
background-size: cover;
}
#fuzhu{
position: absolute;
top: 0;
width: 400px;
height: 100%;
margin-left: calc(50% - 200px);
background-image: linear-gradient(to right,rgba(219,112,147,0) 0%,
rgba(219,112,147,0.3) 10%,
rgba(219,112,147,0.5) 50%,
rgba(219,112,147,0.3) 90%,
rgba(219,112,147,0.0) 100%);
}
@media screen and (max-width:768px) {
body{
background-image: url(img/man3.jpg);
}
#fuzhu{
width: 360px;
margin-left: calc(50% - 180px);
}
}
</style>
</head>
<body>
<div id="aplayer"></div>
<div id="fuzhu"></div>
<script src="./js/APlayer.js"></script>
<script src="./ceshi1.js"></script>
<script type="text/javascript">
//手动触发点击事件
document.querySelector(".aplayer-miniswitcher").click();
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化