《老屋记忆》
<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: 265px;
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>
阳光像液态的黄金,<br>
从门框的缝隙间悄然渗入,<br>
在地板上勾勒出细长的光痕。<br>
记忆中最鲜活的画面,<br>
是祖母深陷在那把藤编扶手椅里的身影——<br>
她枯瘦的手指捏着泛黄的蒲扇,<br>
节奏缓慢得像停摆的钟摆。<br>
如今重返故地,<br>
那把椅子仍固执地守在原地,<br>
只是藤条间积攒的灰尘,<br>
已足够埋藏一个完整的夏天。
</p>
<p><p class="txtRight">偶然<br>2025年06月17日</p>
</div>
<audio id="aud" src="https://ouran2023.s3-us-east-1.ossfiles.com/yfj.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> 藤条间积攒的灰尘,已足够埋藏一个完整的夏天。
祖母已经不在了,老屋只剩下老物件固守着岁月的流逝{:4_187:} 欣赏偶然君好诗,这样的诗句很感人{:4_199:}
页:
[1]