|
|

楼主 |
发表于 2025-10-31 20:42
|
显示全部楼层
完整代码:
- <style>
- @import 'https://638183.freep.cn/638183/web/tz/tz.min.css';
- .pa { --offsetX: 81px; --bg: url('https://638183.freep.cn/638183/t24/w7/red.webp') no-repeat center/cover; }
- .clipbox { position: absolute; width: 100%; height: 95%; background: red; clip-path: path('M70 0 A1 0.6 0 0 0 130 0 L100 90 L70 0'); opacity: .25; }
- .lz { width: 20px; height: 20px; background: linear-gradient(red, white); border-radius: 50%; opacity: 1; animation: opacity 2s infinite alternate var(--state), rot linear 4s infinite var(--state); }
- @keyframes opacity { to { opacity: 0; } }
- </style>
- <div class="pa"></div>
- <script type="module">
- import TZ from 'https://638183.freep.cn/638183/web/tz/tz.f.v2.min.js';
- const tz = TZ.TZ('pa');
- tz.add('audio', '', '', {src: 'https://music.163.com/song/media/outer/url?id=1447306956'});
- tz.add('div', 'player', 'wrap200 ma').playmp3().style('right: 60px');
- tz.lzRot(10, 'player', {className: 'clipbox'});
- tz.lzRan(60, tz.pa, { className: 'lz', delay: -4, duration: 4 });
- tz.bgprog().style('bottom: 20px; color: orangered');
- tz.fs().style('right: 20px; bottom: 20px; color: firebrick');
- </script>
复制代码
|
评分
-
| 参与人数 2 | 威望 +100 |
金钱 +200 |
经验 +100 |
收起
理由
|
小辣椒
| + 50 |
+ 100 |
+ 50 |
赞一个! |
红影
| + 50 |
+ 100 |
+ 50 |
赞一个! |
查看全部评分
|