---
title: "X 归档 2020-08-13"
date: "2020-08-13"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">6 条动态 · 图 0 · 视频 2</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1293862293139337217" id="xl-1293862293139337217-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1293862293139337217" id="xl-1293862293139337217-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/1742141496797646848/2uoNZOfx_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/sulco" target="_blank" rel="nofollow noopener" data-name="Tomek Sułkowski" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1742141496797646848/2uoNZOfx_bigger.jpg">@sulco</a><span class="x-arch-time">18:49</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1293862293139337217-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1293862293139337217-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/sulco/status/1293862293139337217" 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 tip for today:<br /><br />`font-variant-numeric` and `font-feature-setting` CSS properties allow to activate same-width numbers for a font.<br /><br />Use them to make your counters less jumpy, and values nicely aligned.</div>
    <div class="x-arch-text x-arch-trans">今日 #CSS 小技巧：<br /><br />`font-variant-numeric` 和 `font-feature-setting` 这两个 CSS 属性可以为字体启用等宽数字。<br /><br />用它们让你的计数器不再跳动，数值整齐对齐。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-08/1293862293139337217-poster.jpg" src="/cdn-media/x/2026-10/1293862293139337217-video.mp4" width="1188" height="720" data-duration="14" aria-label="@sulco 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1293871021871644672" id="xl-1293871021871644672-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1293871021871644672" id="xl-1293871021871644672-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/1187814172307800064/MhnwJbxw_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/FlutterDev" target="_blank" rel="nofollow noopener" data-name="Flutter" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1187814172307800064/MhnwJbxw_bigger.jpg">@FlutterDev</a><span class="x-arch-time">19:24</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1293871021871644672-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1293871021871644672-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/FlutterDev/status/1293871021871644672" 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">🚀1.20 Release: Flutter's biggest release yet!<br /><br />Performance improvements, mobile autofill, a new widget, and more!<br /><br />💙Thank you community contributors!<br /><br />Read ↓ <a href="https://goo.gle/3fAosCJ" target="_blank" rel="noopener">https://goo.gle/3fAosCJ</a></div>
    <div class="x-arch-text x-arch-trans">🚀1.20 发布：Flutter 迄今为止最大的一次更新！<br /><br />性能改进、移动端自动填充、一个新 widget，还有更多！<br /><br />💙感谢社区贡献者！<br /><br />阅读 ↓ <a href="https://goo.gle/3fAosCJ" target="_blank" rel="noopener">https://goo.gle/3fAosCJ</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1293871621791342592" id="xl-1293871621791342592-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1293871621791342592" id="xl-1293871621791342592-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/1374778373239681025/Sc9ehtAr_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/_developit" target="_blank" rel="nofollow noopener" data-name="Jason Miller 🦊⚛" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1374778373239681025/Sc9ehtAr_bigger.jpg">@_developit</a><span class="x-arch-time">19:26</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1293871621791342592-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1293871621791342592-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/_developit/status/1293871621791342592" 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">Here's me live-editing a preact material app on glitch.<br />Instant startup and hot module updates, on a machine with slightly less compute power than a potato</div>
    <div class="x-arch-text x-arch-trans">这是我在 glitch 上实时编辑 preact material 应用的画面。<br />在一台算力只比土豆强一点点的机器上，也能即时启动和热模块更新</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-08/1293871621791342592-poster.jpg" src="/cdn-media/x/2020-08/1293871621791342592-video.mp4" width="1238" height="720" data-duration="92" aria-label="@_developit 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1293873994815299585" id="xl-1293873994815299585-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1293873994815299585" id="xl-1293873994815299585-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/1399329694340747271/T5fbWxtN_bigger.png" 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/kotlin" target="_blank" rel="nofollow noopener" data-name="Kotlin by JetBrains" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1399329694340747271/T5fbWxtN_bigger.png">@kotlin</a><span class="x-arch-time">19:36</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1293873994815299585-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1293873994815299585-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/kotlin/status/1293873994815299585" 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">Our friend @arkann1985 from @BadooDev shares his experience of using the MVI approach with Kotlin Multiplatform Mobile. In this series you will learn how to write a shared module, integrate it into both mobile platforms, and perform testing</div>
    <div class="x-arch-text x-arch-trans">来自 @BadooDev 的朋友 @arkann1985 分享了他在 Kotlin Multiplatform Mobile 上使用 MVI 方法的经验。在这个系列中，你将学到如何编写共享模块、把它集成到两个移动平台，并进行测试</div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1293874774695845888" id="xl-1293874774695845888-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1293874774695845888" id="xl-1293874774695845888-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/2085408220441649152/IbnII3Ni_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/css" target="_blank" rel="nofollow noopener" data-name="CSS-Tricks" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2085408220441649152/IbnII3Ni_bigger.jpg">@css</a><span class="x-arch-time">19:39</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1293874774695845888-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1293874774695845888-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/css/status/1293874774695845888" 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">More Control Over CSS Borders With background-image <a href="https://css-tricks.com/more-control-over-css-borders-with-background-image/" target="_blank" rel="noopener">https://css-tricks.com/more-control-over-css-borders-with-background-image/</a></div>
    <div class="x-arch-text x-arch-trans">用 background-image 更灵活地控制 CSS 边框 <a href="https://css-tricks.com/more-control-over-css-borders-with-background-image/" target="_blank" rel="noopener">https://css-tricks.com/more-control-over-css-borders-with-background-image/</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1293940368615014403" id="xl-1293940368615014403-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1293940368615014403" id="xl-1293940368615014403-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/1187814172307800064/MhnwJbxw_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/FlutterDev" target="_blank" rel="nofollow noopener" data-name="Flutter" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1187814172307800064/MhnwJbxw_bigger.jpg">@FlutterDev</a><span class="x-arch-time">23:59</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1293940368615014403-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1293940368615014403-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/FlutterDev/status/1293940368615014403" 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">🌳 Grab your #FlutterPen and grow a fractal tree with us! Run the @CodePen code below ↓ <a href="https://t.co/zPNy062xMR" target="_blank" rel="noopener">https://t.co/zPNy062xMR</a></div>
    <div class="x-arch-text x-arch-trans">🌳 拿起你的 #FlutterPen，跟我们一起种一棵分形树！运行下面的 @CodePen 代码 ↓ <a href="https://t.co/zPNy062xMR" target="_blank" rel="noopener">https://t.co/zPNy062xMR</a></div>
  </div>
</div>
