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

<div class="x-arch-meta">7 条动态 · 图 2 · 视频 5</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1295422381746532355" id="xl-1295422381746532355-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295422381746532355" id="xl-1295422381746532355-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-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/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">02:08</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295422381746532355-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295422381746532355-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/kotlin/status/1295422381746532355" 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">🥳 Kotlin 1.4 is released!<br /><br />It brings the speed and quality improvements that were frequently requested by the community. On top of that, you can check out SAM interfaces, along with other exciting features!<br /><br />Try the new Kotlin 1.4. Details here ➡️ <a href="https://kotl.in/1_4_Release" target="_blank" rel="noopener">https://kotl.in/1_4_Release</a></div>
    <div class="x-arch-text x-arch-trans">🥳 Kotlin 1.4 发布啦！<br /><br />它带来了社区一直呼声很高的速度和质量改进。除此之外，你还可以体验 SAM 接口以及其他激动人心的特性！<br /><br />快来试试新的 Kotlin 1.4。详情点这里 ➡️</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-08/1295422381746532355-poster.jpg" src="/cdn-media/x/2026-10/1295422381746532355-video.mp4" width="800" height="330" data-duration="20" aria-label="@kotlin 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1295435689321013253" id="xl-1295435689321013253-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295435689321013253" id="xl-1295435689321013253-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/1281491980707598336/wW0BoD7T_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/mark_lundin" target="_blank" rel="nofollow noopener" data-name="Mark Lundin" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1281491980707598336/wW0BoD7T_bigger.jpg">@mark_lundin</a><span class="x-arch-time">03:01</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295435689321013253-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295435689321013253-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/mark_lundin/status/1295435689321013253" 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">Some truly terrible basketball skills 🏀 but the tracking is solid and the dynamic occlusions are👌 <br /><br />- modelled by our resident Lebron stunt double/ Houdini ninja</div>
    <div class="x-arch-text x-arch-trans">球技是真烂 🏀 但追踪很扎实，动态遮挡的表现也很👌<br /><br />- 由我们常驻的 Lebron 替身演员 / Houdini 忍者做模特</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-08/1295435689321013253-poster.jpg" src="/cdn-media/x/2026-10/1295435689321013253-video.mp4" width="1280" height="720" data-duration="7" aria-label="@mark_lundin 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1295444798204256256" id="xl-1295444798204256256-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295444798204256256" id="xl-1295444798204256256-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/987022334988050432/MtSVQevd_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/UpLabs" target="_blank" rel="nofollow noopener" data-name="UpLabs 👑" data-avatar="https://twimg.tweb.xin/twimg/profile_images/987022334988050432/MtSVQevd_bigger.jpg">@UpLabs</a><span class="x-arch-time">03:38</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295444798204256256-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295444798204256256-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/UpLabs/status/1295444798204256256" 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">Download 3D widgetsmade by @PathumTzoo at: <br /><br />👉 <a href="https://www.uplabs.com/posts/3d-widgets" target="_blank" rel="noopener">https://www.uplabs.com/posts/3d-widgets</a></div>
    <div class="x-arch-text x-arch-trans">下载 @PathumTzoo 制作的 3D 小组件：<br /><br />👉</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1295444798204256256-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1295444798204256256-1.jpg" alt="@UpLabs 的配图 1/1" loading="lazy" decoding="async" width="1200" height="900" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1295485614352195584" id="xl-1295485614352195584-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295485614352195584" id="xl-1295485614352195584-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/378800000232458460/b5d097e08c63a6530e9751bcb0a13a57_bigger.png" 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/abt_programming" target="_blank" rel="nofollow noopener" data-name="About Programming" data-avatar="https://twimg.tweb.xin/twimg/profile_images/378800000232458460/b5d097e08c63a6530e9751bcb0a13a57_bigger.png">@abt_programming</a><span class="x-arch-time">06:20</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295485614352195584-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295485614352195584-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/abt_programming/status/1295485614352195584" 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">Dependency <a href="https://xkcd.com/2347/" target="_blank" rel="noopener">https://xkcd.com/2347/</a></div>
    <div class="x-arch-text x-arch-trans">Dependency</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1295485614352195584-1.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1295485614352195584-1.png" alt="@abt_programming 的配图 1/1" loading="lazy" decoding="async" width="385" height="489" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1295608540124442629" id="xl-1295608540124442629-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295608540124442629" id="xl-1295608540124442629-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">14:28</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295608540124442629-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295608540124442629-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/kotlin/status/1295608540124442629" 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">🥳 Kotlin 1.4 is released!<br /><br />It brings the speed and quality improvements that were frequently requested by the community. On top of that, you can check out SAM interfaces, along with other exciting features!<br /><br />Try the new Kotlin 1.4. Details here ➡️ <a href="https://kotl.in/1_4_Release" target="_blank" rel="noopener">https://kotl.in/1_4_Release</a></div>
    <div class="x-arch-text x-arch-trans">🥳 Kotlin 1.4 发布啦！<br /><br />它带来了社区一直呼声很高的速度和质量改进。除此之外，你还可以体验 SAM 接口以及其他激动人心的特性！<br /><br />快来试试新的 Kotlin 1.4。详情点这里 ➡️ <a href="https://kotl.in/1_4_Release" target="_blank" rel="noopener">https://kotl.in/1_4_Release</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-08/1295608540124442629-poster.jpg" src="/cdn-media/x/2020-08/1295608540124442629-video.mp4" width="800" height="330" data-duration="20" aria-label="@kotlin 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1295608794748051456" id="xl-1295608794748051456-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295608794748051456" id="xl-1295608794748051456-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/2090232066021769216/IwGLjoSy_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/addyosmani" target="_blank" rel="nofollow noopener" data-name="Addy Osmani" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2090232066021769216/IwGLjoSy_bigger.jpg">@addyosmani</a><span class="x-arch-time">14:29</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295608794748051456-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295608794748051456-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/addyosmani/status/1295608794748051456" 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">Tip: Emulate vision deficiencies in @ChromeDevTools to see how users who experience color blindless or blurred vision might see your site.</div>
    <div class="x-arch-text x-arch-trans">小技巧：在 @ChromeDevTools 中模拟视觉缺陷，看看色盲或视力模糊的用户眼中的你的网站会是什么样子。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-08/1295608794748051456-poster.jpg" src="/cdn-media/x/2020-08/1295608794748051456-video.mp4" width="1280" height="720" data-duration="23" aria-label="@addyosmani 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1295610575389515778" id="xl-1295610575389515778-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1295610575389515778" id="xl-1295610575389515778-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-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/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">14:36</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1295610575389515778-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1295610575389515778-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/sulco/status/1295610575389515778" 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/1295610575389515778-poster.jpg" src="/cdn-media/x/2020-08/1295610575389515778-video.mp4" width="1188" height="720" data-duration="14" aria-label="@sulco 的视频"></video>
  </div>
</div>
