无我
本帖最后由 绿叶清舟 于 2025-1-13 21:27 编辑 <br /><br /><style>#tz {
margin: 20px 0 30px calc(50% - 683px);
width: 1200px;
height: 680px;
background: url('https://p.upyun.com/demo/tmp/PGPuBgH2.webp') no-repeat center/cover;
box-shadow: 3px 3px 6px rgba(0,0,0,.6);
overflow: hidden;
z-index: 1;
position: relative;
}
#vid {
position: absolute;
width: 100%;
height: calc(100% + 60px);
top: -60px;
object-fit: cover;
mix-blend-mode: screen;
pointer-events: none;
}
#player {
position: absolute;
left: calc(95% - 100px);
top: calc(92% - 85px);
cursor: pointer;
animation: rot 10s linear infinite var(--state);
}
use:nth-child(odd) { --bg: #deca91; }
use:nth-child(even) { --bg: #9e5500; }
@keyframes rot {
to { transform: rotate(360deg); }
}
</style>
<div id="tz">
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=1440922143" autoplay loop></audio>
<svg id="player" width="80" height="80" viewBox="0 0 200 200">
<title id="tt">播放/暂停</title>
<defs>
<g id="p1" fill="none" stroke="var(--bg)" stroke-width="4" stroke-linecap="round" stroke-dasharray="4 6">
<path id="p1" d="M10 100 Q50 270,100 100 T 190 100">
<animate attributeName="stroke-dashoffset" from="80" to="0" dur="2s" repeatCount="indefinite" />
</path>
</g>
</defs>
<use href="#p1" transform="rotate(0 100 100)"></use>
<use href="#p1" transform="rotate(30 100 100)"></use>
<use href="#p1" transform="rotate(60 100 100)"></use>
<use href="#p1" transform="rotate(90 100 100)"></use>
<use href="#p1" transform="rotate(120 100 100)"></use>
<use href="#p1" transform="rotate(150 100 100)"></use>
</svg>
</div>
<script>
mState = () => {
tz.style.setProperty('--state', aud.paused ? 'paused' : 'running');
aud.paused ? (player.pauseAnimations(), vid.pause()) : (player.unpauseAnimations(), vid.play());
tt.textContent = aud.paused ? '点击播放' : '点击暂停';
};
aud.onplaying = aud.onpause = () => mState();
player.onclick = () => aud.paused ? aud.play() : aud.pause();
</script> 哲学道理讲得十分透彻,只有“无我”才能有我。 头一次看到这样的帖子,做帖的同时,还阐述了一番人生哲理{:4_199:} 在意了谁的想法,就会成为谁的奴隶。这话还是有点道理的,对事不对人,才能做到无我。{:4_204:} 不要脸好 值得玩味,内容再丰富一些会更好{:4_204:} https://img.soogif.com/olrt53z1tMMdY6VqE2K7nSCkMRVWeFe0.gif 不要脸则天下无敌!{:4_170:}中国的厚黑学有异曲同工之妙。
我不要脸我得利,我不要脸我安逸、我不要脸啥都敢干{:4_358:} 非常有思想,做人的道理。赞! 梦油 发表于 2025-1-13 21:31
哲学道理讲得十分透彻,只有“无我”才能有我。
一般人很难做到了 梦江南 发表于 2025-1-14 15:44
非常有思想,做人的道理。赞!
只有羡慕的份了 樵歌 发表于 2025-1-14 08:49
不要脸则天下无敌!中国的厚黑学有异曲同工之妙。
我不要脸我得利,我不要脸我安逸、我不要脸啥 ...
就是一个厚黑了{:4_189:} 起个网名好难 发表于 2025-1-14 06:24
谢谢网名,晚上好 杨帆 发表于 2025-1-13 23:56
值得玩味,内容再丰富一些会更好
再丰富要搞个不要脸系列了{:4_173:} 马黑黑 发表于 2025-1-13 23:01
不要脸好
好在哪了 红影 发表于 2025-1-13 22:49
头一次看到这样的帖子,做帖的同时,还阐述了一番人生哲理
这个音乐素材太难找了,就这么整了{:4_189:} 绿叶清舟 发表于 2025-1-14 21:10
再丰富要搞个不要脸系列了
对呀,来一本薄薄的《厚黑学》{:4_204:} 绿叶清舟 发表于 2025-1-14 21:11
这个音乐素材太难找了,就这么整了
挺好的,很特别{:4_173:} 绿叶清舟 发表于 2025-1-14 21:10
好在哪了
没有了啪啪啪打脸的事情啦 绿叶清舟 发表于 2025-1-14 21:05
一般人很难做到了
是的,就是那老和尚也难做到。