偶然~ 发表于 2025-4-17 01:19

探芳信·赏春柔

<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: 253px;
      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年04月17日</p>
</div>
<audio id="aud" src="https://ouran2023.s3-us-east-1.ossfiles.com/cye.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>

红影 发表于 2025-4-17 10:05

这首词填得好,词牌选得也好。
上阙写春的美妙,下阕写春日情怀。上下阕安排得当。
欣赏偶然君好词{:4_199:}

红影 发表于 2025-4-17 10:06

偶然君多才多艺,太赞了{:4_199:}

小辣椒 发表于 2025-4-17 23:17

欣赏偶然美诗词{:4_187:}

小文 发表于 2025-4-17 23:45

欣赏偶然美诗画

小星世龙 发表于 2025-4-21 14:11

好文采,意境尤美,景情融契,笔法灵动,韵味深长!

小星世龙 发表于 2025-4-21 14:11

好文采,意境尤美,景情融契,笔法灵动,韵味深长!{:4_178:}
页: [1]
查看完整版本: 探芳信·赏春柔