|
|

楼主 |
发表于 2025-7-17 18:12
|
显示全部楼层
代码
- <style>
- #papa { margin: 30px 0; left: calc(50% - 81px); transform: translateX(-50%); width: clamp(600px, 90vw, 1400px); height: auto; aspect-ratio: 16/9; background: url('https://638183.freep.cn/638183/t24/6/smfb.jpg') no-repeat center/cover; box-shadow: 2px 2px 8px #000; z-index: 1; overflow: hidden; display: grid; place-items: center; position: relative; }
- #player { bottom: 120px; width: 100px; height: 100px; border: 6px dotted gold; border-radius: 50%; background: radial-gradient(transparent, beige), conic-gradient(from -45deg at 50% 100%, beige 90deg, transparent 0) bottom/100% 25%; transform: skew(0, 15deg) rotate(0); cursor: pointer; animation: rot 8s linear infinite var(--state); display: grid; place-items: center; filter: drop-shadow(0 0 30px yellow); position: absolute; }
- #player::before, #player::after { position: absolute; content: ''; width: 180%; height: 180%; background: repeating-linear-gradient(to top right, transparent 0%, transparent calc(50% - 2px), beige 50%, transparent calc(50% + 2px), transparent 0) 50% 50% / 20% 20%; }
- #player::after { transform: rotate(90deg); }
- #btnFs { bottom: 20px; color: #eee; }
- .vid {position: absolute; width: 100%; height: 100%; object-fit: cover; mask: radial-gradient(transparent 20%, red); -webkit-mask: radial-gradient(transparent 20%, red); opacity: .35; pointer-events: none; }
- @keyframes rot { to { transform: skew(0, 15deg) rotate(360deg); } }
- </style>
- <div id="papa">
- <audio id="aud" src="https://music.163.com/song/media/outer/url?id=2164895832" autoplay loop></audio>
- <video class="vid" src="https://bpic.588ku.com/video_listen/588ku_video/22/11/03/12/49/40/video6363486451155.mp4" autoplay loop muted></video>
- <video class="vid" src="https://bpic.588ku.com/video_listen/588ku_video/22/11/04/17/59/33/video6364e2850f8a5.mp4"" autoplay loop muted></video>
- <div id="player"></div>
- </div>
- <script type="module">
- import { FS } from 'https://638183.freep.cn/638183/web/js/fullscreen.js';
- FS(papa, player);
- </script>
复制代码
|
评分
-
| 参与人数 1 | 威望 +50 |
金钱 +100 |
经验 +50 |
收起
理由
|
红影
| + 50 |
+ 100 |
+ 50 |
赞一个! |
查看全部评分
|