仙瑶
<style>@import 'https://638183.freep.cn/638183/web/css/audlrc.css';
#mama { margin: 30px 0 30px calc(50% - 593px); background: black url('https://pic.imgdb.cn/item/673ee125d29ded1a8cc934b3.jpg') no-repeat center/ cover; }
#mama::after { position: absolute; content: '欢迎光临'; background: grey; border-radius: 0 12px 12px 0; left: calc(100% - 150px); top: calc(50% - 300px);
width: 150px; height: 40px; display: grid; place-items: center; }
#player { left: calc(90% - 150px); top: calc(50% - 90px); filter: hue-rotate(90deg); }
#player:hover { filter: hue-rotate(180deg); transition: .7s; }
#prog { bottom: 20px; width: 280px; --bg1: lightgreen; --bg2: green; --color: lightgreen; }
#lrc { bottom: 50px; --bg: linear-gradient(rgba(0,128,0,.25),rgba(0,128,0,.75)); }
#vid { position: absolute; width: 100%; height: 100%; object-fit: cover; -webkit-mask: radial-gradient(transparent 20%, red); pointer-events: none; }
</style>
<div id="mama" class="pa">
<audio id="aud" src="https://file.uhsea.com/2411/905dca4ff4fd4eacd287119bf4c5faf6KB.mp3" autoplay="" loop=""></audio>
<video id="vid" src="https://img.tukuppt.com/video_show/2269348/00/14/66/5e5a2fd36a145.mp4" autoplay loop muted></video>
<div id="lrc" class="lrc" data-lrc="HCPlayer">HCPlayer</div>
<img id="player" class="player" src="https://638183.freep.cn/638183/small/hh1.webp" alt="" />
<div id="prog" class="prog" data-tt="00:00 00:00"></div>
</div>
<script type="module">
import { Aud } from 'https://638183.freep.cn/638183/web/mod/audlrc.js';
var geci = [,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
var mDatas = { pa: mama, btn: player, prog: prog, lrc: lrc, lrcAr: geci };
var audio = new Aud(mDatas);
audio.play();
</script>
漂亮!别样风味,谢谢醉美管理员精彩分享
页:
[1]