【小雨音画 】希望你被这个世界爱着
<style>#papa { margin: 0 0 0 calc(50% - 881px);
width: 1600px; height: 900px;
background: url('https://806447640.oss-cn-beijing.aliyuncs.com/21/sr/sr.jpg') no-repeat center/cover;
box-shadow: 3px 3px 20px #000; overflow: hidden; display: grid; place-items: center; z-index: 1; position: relative; --state: running; }
#vid {
position: absolute;
width: 110%;
height: 120%;
top:-80px;
object-fit: cover;
pointer-events: none;
mix-blend-mode: screen;
z-index: 2;
opacity: .56;
}
</style>
<div id="papa"><video id="vid" src="https://img.tukuppt.com/video_show/15653652/01/67/72/63db21822b3d8.mp4" autoplay="" loop="" muted=""></video></div>
<audio id="aud" src="http://music.163.com/song/media/outer/url?id=2094722141.mp3" autoplay="" loop=""></audio>
<script>
(function() {
let script = document.createElement('script');
script.src = 'https://638183.freep.cn/638183/web/api/svg_path_lrc.js';
script.charset = 'utf-8';
document.head.appendChild(script);
let geci = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
window.onload = () => {
HCPlayer({
papa: '#papa',
lrcAr: geci,
papa: '#papa',
lrcAr: geci,
lrc_css: `
top: 20px;
color: #fff;
--bg: linear-gradient(rgba(250,250,250,.25),rgba(100,200,250,.65));
`,
player_css: `
bottom: 2%;
color: lightblue;
z-index: 100;
--track: darkgray;
--prog:black;
`,
fs_css: `bottom: 30px;left:10px; background: transparent;--color: white;`,
title: '吕口口-希望你被这个世界爱着',
});
let mkClover = (ele,num) => {
let r = ele.offsetWidth / 2, pathAr = [];
for(let i = 0; i < 200; i ++) {
let angle = i * 2 * Math.PI / 200;
let x = r - r * Math.sin(num * angle) * Math.cos(angle);
let y = r - r * Math.sin(num * angle) * Math.sin(angle);
pathAr.push(x + 'px ' + y + 'px');
}
return 'polygon(' + pathAr.join(', ') + ')';
}
Array.from({length: 16}).forEach((item) => {
let ww = 50 + Math.floor(Math.random() * 50);
let ar = ;
item = document.createElement('span');
item.className = 'clover';
item.style.cssText += `
--deg: ${60 - Math.random() * 150}deg;
--delay: ${Math.random() * 20 - 20}s;
width: ${ww}px;
height: ${ww}px;
right: 200px;
`;
papa.appendChild(item);
item.style.clipPath = mkClover(item, ar);
});
};
})();
setInterval( () => { aud.paused ? vid.pause() : vid.play(); },100);
</script>
蓝天、白云、沙滩
好向往,春天快到了,夏季也不远了
{:4_123:} 漂亮的图图,喜欢
愿我们每一个人都被这个世界爱着
页:
[1]