直到遇见了你(学习马黑黑大雅无曲效果)
<style>@import 'https://638183.freep.cn/638183/web/css/tz01.css';
#pa { --offsetX: 81px; --bg: url('https://pic1.imgdb.cn/item/68975a3858cb8da5c8154012.jpg') no-repeat center/cover; --ma-size: 20%; --rot: 0; }
#pa::before { position: absolute; top: 180px; left: 200px;content: url('https://638183.freep.cn/638183/t22/51/hx.png'); scale: 0.1; transform: rotate(var(--rot)); opacity: 0; transition: 1.6s; }
#pa:hover::before { opacity: 1; scale: 1; }
#ma { bottom: 50px; }
#ma::after { position: absolute; content: ''; left: 0; top: 0; right: 0; bottom: 0; background: repeating-conic-gradient(yellow, transparent, gold 10%), url('https://638183.freep.cn/638183/t22/gif/121.gif'); background-blend-mode: screen; clip-path: url(#svgPath); }
#btnFs { bottom: 20px; color: #eee; }
</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://file.uhsea.com/2508/1fcdbb988eab2cdf186e1dd260c9c2ddLD.mp3" autoplay="" loop=""></audio>
<video class="pd-vid" src="https://img.tukuppt.com/video_show/2629112/00/01/91/5b4d7ca804493.mp4" autoplay loop muted></video>
<div id="ma" class="sepia"></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> @马黑黑
老师 晚上好,学生交作业,请指正{:4_190:} 朵拉老师动作真快,欣赏点赞!{:4_187:} 漂亮,欣赏朵宝好帖{:4_187:} {:4_199:}
页:
[1]