楼主: 花简静

花简静贴子代码及说明汇总(翻页有新贴)

[复制链接]
 楼主| 发表于 2025-8-9 18:38 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-9 18:38 | 显示全部楼层
本帖最后由 花简静 于 2025-8-15 10:36 编辑

<style>     @import 'https://638183.freep.cn/638183/web/css/tz01.css';     #pa { --offsetX: 0px; left: calc(50% - 101px);width: clamp(600px, 90vw, 1800px); height: auto; aspect-ratio: 18/9;--bg: url('https://642303.freep.cn/642303/tu/202080808.jpg') no-repeat center/cover; --ma-size: 7%; --rot: 0; }     #pa::before { position: absolute; content: url('https://642303.freep.cn/642303/tu/gaiceng03.png'); top:2px;transform: rotate(var(--rot)); opacity: 0; transition: 1.6s; }     #pa:hover::before { opacity: .4; }     #ma { bottom: 36%;left:76%; opacity: .3;}     #ma::after { position: absolute; content: '';left: 0; top: 0; right: 0; bottom: 0; background: repeating-conic-gradient(#374199, transparent, #4a4d7c 10%), url('https://638183.freep.cn/638183/t22/gif/121.gif'); background-blend-mode: screen; clip-path: url(#svgPath); }     #btnFs { bottom: -120px; color: #eee; }     .mypic { position: absolute; left:18%; top:18%; cursor: pointer; mix-blend-mode: Multiply; z-index: 3; } .pd-vid { position: absolute; width: 90%; height:90%; object-fit: cover; pointer-events: none; right:-25%; bottom:-6%; mix-blend-mode:soft-light; -webkit-mask: radial-gradient(circle, cyan, cyan,rgba(0,0,0,.95),transparent, transparent, transparent, transparent, transparent); z-index: 2; opacity: .95; }   </style>   <svg width="0" height="0">     <clipPath id="svgPath" clipPathUnits="objectBoundingBox">         <path d="M1,0.5 Q0.484,0.5,0.879,0.826 Q0.484,0.5,0.574,1 Q0.484,0.5,0.227,0.94 Q0.484,0.5,0,0.674 Q0.484,0.5,0,0.326 Q0.484,0.5,0.227,0.06 Q0.484,0.5,0.574,0 Q0.484,0.5,0.879,0.174 Q0.484,0.5,1,0.5" />     </clipPath> </svg> <div id="pa">     <audio id="aud" src="https://music.163.com/song/media/outer/url?id=2009565839" autoplay loop></audio>     <video class="pd-vid" src="https://img.tukuppt.com/video_show/2269348/00/01/76/5b49bc5427869.mp4" autoplay loop muted></video>     <div id="ma" class="sepia"></div> <div class="mypic"><img src="http://kkshan.com/data/attachment/forum/202412/22/185517gclz9lzqcokzqcuz.gif" alt="" /></div> </div>     <script type="module">     import { FS } from 'https://638183.freep.cn/638183/web/js/fullscreen.js';     FS(pa, ma);     var clickNum = 0;     const clickCircle = (e, r = 70) => {         var cx = pa.clientWidth / 2 + 20, cy = pa.clientHeight / 2 - 40, px = e.offsetX, py = e.offsetY;         return (cx - px) ** 2 + (cy - py) ** 2 < r ** 2;     };     pa.onmousemove = (e) => pa.style.cursor = clickCircle(e) ? 'pointer' : 'default';     pa.onclick = (e) => {         if (!clickCircle(e)) return;         clickNum ++;         pa.style.setProperty('--rot', clickNum + 'turn');     }; </script>
点评
回复

使用道具

 楼主| 发表于 2025-8-9 18:38 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-9 18:38 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-9 18:38 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-13 10:31 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-13 10:31 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-13 10:31 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-13 10:31 | 显示全部楼层
点评
回复

使用道具

 楼主| 发表于 2025-8-13 10:31 | 显示全部楼层
点评
回复

使用道具

您需要登录后才可以回帖 登录 | 中文注册

本版积分规则

手机版|千山论坛 ( 冀ICP备2024055714号 )

GMT+8, 2025-9-16 10:04

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表