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

<div class="x-arch-meta">2 条动态 · 图 0 · 视频 2</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1229508563267137539" id="xl-1229508563267137539-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1229508563267137539" id="xl-1229508563267137539-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/1200517928686407680/5FXDclvD_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/UniverCurious" target="_blank" rel="nofollow noopener" data-name="Universal Curiosity" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1200517928686407680/5FXDclvD_bigger.jpg">@UniverCurious</a><span class="x-arch-time">04:50</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1229508563267137539-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1229508563267137539-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/UniverCurious/status/1229508563267137539" 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">This is visual proof that the exterior angles of the side of a polygon always add up to 360 degrees.</div>
    <div class="x-arch-text x-arch-trans">这是“多边形外角之和恒为 360 度”的直观视觉证明。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-02/1229508563267137539-poster.jpg" src="/cdn-media/x/2026-10/1229508563267137539-video.mp4" width="600" height="600" data-duration="13" aria-label="@UniverCurious 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1229709640126124033" id="xl-1229709640126124033-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1229709640126124033" id="xl-1229709640126124033-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/2043070930071539712/EaMrMk85_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/sebdedeyne" target="_blank" rel="nofollow noopener" data-name="Sebastian De Deyne" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2043070930071539712/EaMrMk85_bigger.jpg">@sebdedeyne</a><span class="x-arch-time">18:09</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1229709640126124033-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1229709640126124033-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/sebdedeyne/status/1229709640126124033" 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">`font-variant-numeric: tabular-nums` is one of my favorite CSS properties. It sets numbers as monospace, so they're prettily aligned in tables.<br /><br />Another use case I came across is this little character counter. Notice how much smoother it becomes with tabular nums.</div>
    <div class="x-arch-text x-arch-trans">`font-variant-numeric: tabular-nums` 是我最喜欢的 CSS 属性之一。它把数字设成等宽，让它们在表格里整齐对齐。<br /><br />我遇到的另一个用例是这个小小的字符计数器。注意用上 tabular nums 之后它变得顺眼了多少。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-02/1229709640126124033-poster.jpg" src="/cdn-media/x/2026-10/1229709640126124033-video.mp4" width="1394" height="538" data-duration="12" aria-label="@sebdedeyne 的视频"></video>
  </div>
</div>
