|
|

楼主 |
发表于 2025-10-6 08:56
|
显示全部楼层
帖子代码
- <style>
- @import 'https://638183.freep.cn/638183/web/css/tz02.css';
- #pa { --offsetX: 0px; --bg: tan url('https://638183.freep.cn/638183/t24/w6/toucan.webp') no-repeat center/cover; }
- #progress { position: absolute; top: 10px; right: 10px; width: 15vw; height: 15vw; transition: .4s; }
- #g1 { cursor: pointer; fill: skyblue; fill-rule: evenodd; stroke: lightblue; stroke-width: 3; animation: rotate 8s linear infinite var(--state); }
- #g2 { cursor: pointer; fill: none; stroke: lightblue; stroke-width: 12; stroke-linecap: round; }
- #prog { stroke: lightyellow; }
- #btnFs { bottom: 20px; color: white; border-color: currentColor !important; }
- </style>
- <div id="pa">
- <audio id="aud" src="https://music.163.com/song/media/outer/url?id=2027455660" autoplay loop></audio>
- <video class="pd-vid" src="https://img.tukuppt.com/video_show/15653652/04/06/21/646b0add8b43e.mp4" autoplay loop muted></video>
- <svg id="progress" class="brightness" xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 400 400">
- <g id="g1"><title>ALT+X</title></g>
- <g id="g2"><title>调节进度</title></g>
- </svg>
- </div>
- <script type="module">
- import { FS } from 'https://638183.freep.cn/638183/web/js/pathprog.js';
- import Dr from 'https://638183.freep.cn/638183/svgdr/svgdr.mod.min.js';
- var dr = Dr.dr(progress);
- dr.polygon(dr.sun(11, 200, 190)).addTo(g1);
- dr.circle(0, 0, 50, 'transparent', 'transparent').addTo(g1);
- dr.circle(0, 0, 65).id('track').addTo(g2);
- dr.circle(0, 0, 65).id('prog').addTo(g2);
- FS(pa, g1);
- </script>
复制代码
|
评分
-
| 参与人数 1 | 威望 +50 |
金钱 +100 |
经验 +50 |
收起
理由
|
红影
| + 50 |
+ 100 |
+ 50 |
赞一个! |
查看全部评分
|