《数字双节叠影》
花潮:<style>
#mydiv {
margin: 30px auto;
padding: 20px 10px;
width: 90%;
min-height: 400px;
border: 1px solid var(--fColor);
color: var(--fColor);
background: var(--bgMain);
position: relative;
pointer-events: none;
--bgMain: linear-gradient(snow,lightgreen,snow);
--bgTitle: lightgreen;
--fColor: black;
--btnWidth: 40px;
--state: paused;
}
#mydiv::before, #mydiv::after { position: absolute; content: ''; }
#mydiv::before {
padding: 0 8px;
content: '《数字双节叠影》';
left: 235px;
top: -18px;
font: bold 24px / 36px sans-serif;
text-shadow: 1px 1px 2px #111;
border: inherit;
background: var(--bgTitle);
}
#mydiv::after {
width: var(--btnWidth);
height: var(--btnWidth);
background: conic-gradient(var(--fColor),var(--bgTitle),var(--fColor),var(--bgTitle));
border-radius: 50%;
bottom: calc(var(--btnWidth) / -2);
left: calc(50% - var(--btnWidth) / 2);
cursor: pointer;
pointer-events: auto;
animation: rot 5s infinite linear var(--state);
}
#mydiv p { padding: 20px 0; font-size: 16px ; }
.txtRight { position: absolute; text-align: center; right: 10px; bottom: -10px; }
.txtMid { text-align: center; }
@keyframes rot { to { transform: rotate(360deg); } }
</style>
<div id="mydiv">
<p><p>门框的艾叶在扫码支付时颤动,<br>
儿童手表定位腕间的彩虹。<br>
汨罗江的直播刚关闭打赏功能,<br>
摩天轮就用LED滚动《离骚》的残影。<br><br>
我们站在时间API的接口——<br>
左线程:龙舟桨划开区块链的浪,<br>
右线程:电子木马正破解童谣的加密协议。<br><br>
(弹窗突然弹出:)<br>
【是否永久删除<br>
名为『永恒』的云存储文件?】<br><br>
我按下【稍后决定】——<br>
用指纹解锁苏轼的月亮充电宝,<br>
把李白的酒泼进星巴克拉花。<br>
当AR粽子撞上NFT糖果,<br>
系统提示:<br>
【检测到您的心率低于欲望阈值】<br>
于是我:<br>
将灵魂压缩成1MB的zip,<br>
附在<br>
正被共享单车碾过的<br>
蒲公英表情包上。
</p>
<p><p class="txtRight">偶然<br>2025年06月01日</p>
</div>
<audio id="aud" src="https://ouran2023.s3-us-east-1.ossfiles.com/yudi.mp3" autoplay="autoplay" loop="loop"></audio>
<script>
(function () {
let mState = () => mydiv.style.setProperty('--state', aud.paused ? 'paused' : 'running');
aud.addEventListener('play', mState, false);
aud.addEventListener('pause', mState, false);
mydiv.onclick = () => aud.paused ? aud.play() : aud.pause();
})();
</script> 数字要素都串连得很巧妙,这适合当代二次元们和AI的口味和习惯了。 有意思,用计算机语言写成的诗句呢。
欣赏偶然君好诗{:4_199:}
页:
[1]