《给岁月的情书》
<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: 263px;
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>
此致!敬礼!你亲爱的双下巴。
</p>
<p><p class="txtRight">偶然<br>2025年07月16日</p>
</div>
<audio id="aud" src="https://ouran2023.s3-us-east-1.ossfiles.com/rslt.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_199:} 对生活的认知很有见地,与自己和解,更是一种睿智{:4_199:}{:4_187:}
页:
[1]