---
title: "X 归档 2024-08-09"
date: "2024-08-09"
tags:
  - x-archive
  - frontend
  - apple
---

<div class="x-arch-meta">5 条动态 · 图 0 · 视频 3</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1821620554287530072" id="xl-1821620554287530072-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1821620554287530072" id="xl-1821620554287530072-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/1727303967737294848/zS3hLMSI_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/60fpsdesign" target="_blank" rel="nofollow noopener" data-name="60fps" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1727303967737294848/zS3hLMSI_bigger.jpg">@60fpsdesign</a><span class="x-arch-time">02:52</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1821620554287530072-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1821620554287530072-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/60fpsdesign/status/1821620554287530072" 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">Carousel navigation 🛟</div>
    <div class="x-arch-text x-arch-trans">轮播导航 🛟</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-08/1821620554287530072-poster.jpg" src="/cdn-media/x/2026-10/1821620554287530072-video.mp4" width="904" height="720" data-duration="12" aria-label="@60fpsdesign 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1821765865609818152" id="xl-1821765865609818152-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1821765865609818152" id="xl-1821765865609818152-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/1553505113633075200/MBkX8qZx_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/_Kavsoft" target="_blank" rel="nofollow noopener" data-name="Kavsoft" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1553505113633075200/MBkX8qZx_bigger.jpg">@_Kavsoft</a><span class="x-arch-time">12:30</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1821765865609818152-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1821765865609818152-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/_Kavsoft/status/1821765865609818152" 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">Building Compositional Grid Layout With iOS 18 APIs<br /><a href="https://youtu.be/N7S5qeRFeSg" target="_blank" rel="noopener">https://youtu.be/N7S5qeRFeSg</a></div>
    <div class="x-arch-text x-arch-trans">用 iOS 18 API 构建组合式网格布局<br /><a href="https://youtu.be/N7S5qeRFeSg" target="_blank" rel="noopener">https://youtu.be/N7S5qeRFeSg</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-08/1821765865609818152-poster.jpg" src="/cdn-media/x/2024-08/1821765865609818152.m3u8" width="720" height="798" data-duration="22" aria-label="@_Kavsoft 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1821766393282646079" id="xl-1821766393282646079-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1821766393282646079" id="xl-1821766393282646079-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/1996932957957668864/DPJ_VVWg_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/FirefoxWebDevs" target="_blank" rel="nofollow noopener" data-name="Firefox for Web Developers" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1996932957957668864/DPJ_VVWg_bigger.jpg">@FirefoxWebDevs</a><span class="x-arch-time">12:32</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1821766393282646079-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1821766393282646079-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/FirefoxWebDevs/status/1821766393282646079" 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">We’re pleased to announce that, as of version 23, the Puppeteer browser automation library now has first-class support for @Firefox!<br /><br />This means simplifying browser automation and testing across both @googlechrome and Firefox. 💻<br /><a href="https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/" target="_blank" rel="noopener">https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/</a></div>
    <div class="x-arch-text x-arch-trans">我们很高兴地宣布，从 23 版开始，Puppeteer 浏览器自动化库现已为 @Firefox 提供一流支持！<br /><br />这意味着跨 @googlechrome 和 Firefox 的浏览器自动化与测试变得更简单。💻<br /><a href="https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/" target="_blank" rel="noopener">https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1821766816030720049" id="xl-1821766816030720049-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1821766816030720049" id="xl-1821766816030720049-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/1699791641706655744/nZ6TDnaI_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/ChromiumDev" target="_blank" rel="nofollow noopener" data-name="Chrome for Developers" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1699791641706655744/nZ6TDnaI_bigger.jpg">@ChromiumDev</a><span class="x-arch-time">12:33</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1821766816030720049-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1821766816030720049-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/ChromiumDev/status/1821766816030720049" 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">Automate @googlechrome and @firefox with the same API? It's possible with #WebDriver BiDi! 🙌 Now ready for production with Firefox 129 &amp; Puppeteer 23. Learn more in <a href="https://developer.chrome.com/blog/firefox-support-in-puppeteer-with-webdriver-bidi" target="_blank" rel="noopener">https://developer.chrome.com/blog/firefox-support-in-puppeteer-with-webdriver-bidi</a></div>
    <div class="x-arch-text x-arch-trans">用同一个 API 自动化 @googlechrome 和 @firefox？借助 #WebDriver BiDi 这成为可能！🙌 现已可用于生产环境，支持 Firefox 129 与 Puppeteer 23。了解更多：<a href="https://developer.chrome.com/blog/firefox-support-in-puppeteer-with-webdriver-bidi" target="_blank" rel="noopener">https://developer.chrome.com/blog/firefox-support-in-puppeteer-with-webdriver-bidi</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1821853199738765401" id="xl-1821853199738765401-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1821853199738765401" id="xl-1821853199738765401-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/1390605764344041474/TKAPXJpv_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/amit_sheen" target="_blank" rel="nofollow noopener" data-name="Amit Sheen" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1390605764344041474/TKAPXJpv_bigger.jpg">@amit_sheen</a><span class="x-arch-time">18:17</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1821853199738765401-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1821853199738765401-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/amit_sheen/status/1821853199738765401" 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 Chain Links<br /><br />67 &lt;div&gt;s, 260 &lt;i&gt;s, and about 110 lines of pure #CSS. 😀 <br /><br />Live demo and full code on @CodePen: <a href="https://codepen.io/amit_sheen/full/MWMvBJO" target="_blank" rel="noopener">https://codepen.io/amit_sheen/full/MWMvBJO</a></div>
    <div class="x-arch-text x-arch-trans">⛓️ CSS 锁链<br /><br />67 个 &lt;div&gt;、260 个 &lt;i&gt;，以及约 110 行纯 #CSS。 😀<br /><br />在 @CodePen 上有在线演示和完整代码：</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-08/1821853199738765401-poster.jpg" src="/cdn-media/x/2026-10/1821853199738765401-video.mp4" width="960" height="720" data-duration="24" aria-label="@amit_sheen 的视频"></video>
  </div>
</div>
