|
<style>
@import 'https://638183.freep.cn/638183/web/css/tz01.css';
#pa { --offsetX: 81px; --bg: url('https://638183.freep.cn/638183/t24/6/f98.jpeg') no-repeat center/cover; --ma-size: 20%; }
#ma { left: 30px; top: 30px; z-index: 10; }
#btnFs { right: 30px; bottom: 30px; color: lightblue; border-color: currentColor!important; }
.plane { position: absolute; right: -150px; top: -200px; width: 200px; height: 200px; background: lightyellow; cursor: pointer; clip-path: path('M100 100,140 0,0 200,200 80'); animation: fly 9s var(--delay) linear infinite var(--state); --delay: 0s; }
.plane:nth-of-type(2) { background: lightblue; --delay: -3s; }
.plane:nth-of-type(3) { background: purple; --delay: -6s; }
@keyframes fly { to { right: 30%; top: 100%; } }
</style>
<div id="pa">
<audio id="audio" src="https://music.163.com/song/media/outer/url?id=2124415181" autoplay loop></audio>
<video class="pd-vid" src="https://img.tukuppt.com/video_show/2418175/00/02/01/5b4f55c95539b.mp4" autoplay loop muted></video>
<div class="plane brightness"></div>
<div class="plane brightness"></div>
<div class="plane brightness"></div>
<div id="ma" class="brightness">
<svg id="msvg" width="100%" height="100%" viewBox="-100 -100 200 200"></svg>
</div>
</div>
<script type="module">
import { FS } from 'https://638183.freep.cn/638183/web/js/fullscreen.js';
import Dr from 'https://638183.freep.cn/638183/web/mod/svgdr.js';
var dr = Dr.dr(msvg);
var tt = 5,
path = 'M0 -30,-20 0,0 -95,20 0 Z',
planes = pa.querySelectorAll('.plane');
Array.from({length: tt}).forEach((_,k) => {
dr.path(path, 'none', 'skyblue', 3).transform(`rotate(${360/tt*k})`);
});
planes.forEach(plane => {
plane.title = 'ALT+X';
plane.onclick = () => ma.click();
});
FS(pa,ma);
</script>
|