---
title: "X 归档 2024-07-27"
date: "2024-07-27"
tags:
  - x-archive
  - game
  - frontend
  - apple
---

<div class="x-arch-meta">4 条动态 · 图 0 · 视频 4</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1816872402070163855" id="xl-1816872402070163855-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1816872402070163855" id="xl-1816872402070163855-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1716940661528940544/t1hQ-VfY_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/JuhanaMyllys" target="_blank" rel="nofollow noopener" data-name="Juhana Myllys" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1716940661528940544/t1hQ-VfY_bigger.jpg">@JuhanaMyllys</a><span class="x-arch-time">00:25</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1816872402070163855-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1816872402070163855-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/JuhanaMyllys/status/1816872402070163855" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Best feeling isn't finishing the asset, it's seeing it in the game for the first time.</div>
    <div class="x-arch-text x-arch-trans">最好的感觉不是做完素材，而是第一次在游戏里看到它。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-07/1816872402070163855-poster.jpg" src="/cdn-media/x/2026-10/1816872402070163855-video.mp4" width="720" height="720" data-duration="16" aria-label="@JuhanaMyllys 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1816995007984767342" id="xl-1816995007984767342-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1816995007984767342" id="xl-1816995007984767342-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1534700564810018816/anAuSfkp_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/jh3yy" target="_blank" rel="nofollow noopener" data-name="jhey ʕ•ᴥ•ʔ" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1534700564810018816/anAuSfkp_bigger.jpg">@jh3yy</a><span class="x-arch-time">08:32</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1816995007984767342-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1816995007984767342-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/jh3yy/status/1816995007984767342" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">CSS macOS style dock nav with sub-menu 🤙<br /><br />:has() for magnification ✅<br />[popover] for the sub-menu ✅<br />anchor() to tether the menu ✅<br />offset-path to put items on the curve ✅<br />linear() for the springy transition ✅<br /><br />Combining cool APIs to create common UI patterns without JS ⭐️</div>
    <div class="x-arch-text x-arch-trans">带子菜单的 CSS macOS 风格 Dock 导航 🤙<br /><br />用 :has() 做放大效果 ✅<br />用 [popover] 做子菜单 ✅<br />用 anchor() 系住菜单 ✅<br />用 offset-path 把菜单项排到弧线上 ✅<br />用 linear() 做弹性过渡 ✅<br /><br />组合多个酷炫 API，不用 JS 实现常见 UI 模式 ⭐️</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-07/1816995007984767342-poster.jpg" src="/cdn-media/x/2026-10/1816995007984767342-video.mp4" width="720" height="720" data-duration="33" aria-label="@jh3yy 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1817066445022560545" id="xl-1817066445022560545-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1817066445022560545" id="xl-1817066445022560545-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1666460461884211204/SmBm505D_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/mattpocockuk" target="_blank" rel="nofollow noopener" data-name="Matt Pocock" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1666460461884211204/SmBm505D_bigger.jpg">@mattpocockuk</a><span class="x-arch-time">13:16</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1817066445022560545-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1817066445022560545-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/mattpocockuk/status/1817066445022560545" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">It's never been easier to make beautifully styled text for your CLI.<br /><br />Node's built-in 'styleText' is NICE</div>
    <div class="x-arch-text x-arch-trans">为你的 CLI 制作漂亮样式的文本，从来没有这么容易过。<br /><br />Node 内置的 'styleText' 真的很好用</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-07/1817066445022560545-poster.jpg" src="/cdn-media/x/2024-07/1817066445022560545-video.mp4" width="1280" height="720" data-duration="20" aria-label="@mattpocockuk 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1817225707510264239" id="xl-1817225707510264239-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1817225707510264239" id="xl-1817225707510264239-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/2098906123780943873/sF4MZk8p_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/womp3D" target="_blank" rel="nofollow noopener" data-name="Womp" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2098906123780943873/sF4MZk8p_bigger.jpg">@womp3D</a><span class="x-arch-time">23:49</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1817225707510264239-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1817225707510264239-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/womp3D/status/1817225707510264239" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">making an easy 3d camping sticker set with womp! 🏕️</div>
    <div class="x-arch-text x-arch-trans">用 womp 做一套简单的 3D 露营贴纸！🏕️</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-07/1817225707510264239-poster.jpg" src="/cdn-media/x/2026-10/1817225707510264239-video.mp4" width="960" height="720" data-duration="14" aria-label="@womp3D 的视频"></video>
  </div>
</div>
