---
title: "X 归档 2023-03-03"
date: "2023-03-03"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">3 条动态 · 图 1 · 视频 2</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1631380161210851329" id="xl-1631380161210851329-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1631380161210851329" id="xl-1631380161210851329-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/1545098208556097536/rKXaODLl_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/code" target="_blank" rel="nofollow noopener" data-name="Visual Studio Code" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1545098208556097536/rKXaODLl_bigger.jpg">@code</a><span class="x-arch-time">03:45</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1631380161210851329-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1631380161210851329-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/code/status/1631380161210851329" 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">@github 7. Fold verbose CSS classes with Inline Fold<br /><br /><a href="https://marketplace.visualstudio.com/items?itemName=moalamri.inline-fold&amp;WT.mc_id=devcloud-90520-cxa" target="_blank" rel="noopener">https://marketplace.visualstudio.com/items?itemName=moalamri.inline-fold&amp;WT.mc_id=devcloud-90520-cxa</a></div>
    <div class="x-arch-text x-arch-trans">@github 7. 用 Inline Fold 折叠冗长的 CSS 类名<br /><br /><a href="https://marketplace.visualstudio.com/items?itemName=moalamri.inline-fold&amp;WT.mc_id=devcloud-90520-cxa" target="_blank" rel="noopener">https://marketplace.visualstudio.com/items?itemName=moalamri.inline-fold&amp;WT.mc_id=devcloud-90520-cxa</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-03/1631380161210851329-poster.jpg" src="/cdn-media/x/2026-10/1631380161210851329-video.mp4" width="406" height="720" data-duration="34" aria-label="@code 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1631637453407756289" id="xl-1631637453407756289-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1631637453407756289" id="xl-1631637453407756289-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/1797295749866164224/1SD8Fh7G_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/shadeed9" target="_blank" rel="nofollow noopener" data-name="Ahmad Shadeed" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1797295749866164224/1SD8Fh7G_bigger.jpg">@shadeed9</a><span class="x-arch-time">20:47</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1631637453407756289-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1631637453407756289-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/shadeed9/status/1631637453407756289" 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 a great time to write CSS.🤩<br /><br />Trying `text-wrap: balance` on my blog. It's still experimental (Chrome Canary) and will be stable in Chrome 113.<br /><br />This is such a useful enhancement 👌</div>
    <div class="x-arch-text x-arch-trans">现在正是写 CSS 的好时代。🤩<br /><br />我在博客上试用了 `text-wrap: balance`。它还处于实验阶段（Chrome Canary），将在 Chrome 113 中转正。<br /><br />这真是个超实用的增强 👌</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-03/1631637453407756289-poster.jpg" src="/cdn-media/x/2026-10/1631637453407756289-video.mp4" width="1064" height="720" data-duration="10" aria-label="@shadeed9 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1631670781578035203" id="xl-1631670781578035203-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1631670781578035203" id="xl-1631670781578035203-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/762579160099385344/w5MfsnMn_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/ChromeDevTools" target="_blank" rel="nofollow noopener" data-name="Chrome DevTools" data-avatar="https://twimg.tweb.xin/twimg/profile_images/762579160099385344/w5MfsnMn_bigger.jpg">@ChromeDevTools</a><span class="x-arch-time">23:00</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1631670781578035203-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1631670781578035203-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/ChromeDevTools/status/1631670781578035203" 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">⚠️ Heads up! The JS Profiler is getting deprecated soon. Use the Performance panel for CPU profiling instead. <br /><br />Have some feedback for us? Share it in our RFC 👉🏼<br /><a href="https://github.com/ChromeDevTools/rfcs/discussions/2" target="_blank" rel="noopener">https://github.com/ChromeDevTools/rfcs/discussions/2</a></div>
    <div class="x-arch-text x-arch-trans">⚠️ 注意！JS Profiler 即将被弃用。请改用 Performance 面板做 CPU 分析。<br /><br />有什么反馈？欢迎到我们的 RFC 里留言 👉🏼<br /><a href="https://github.com/ChromeDevTools/rfcs/discussions/2" target="_blank" rel="noopener">https://github.com/ChromeDevTools/rfcs/discussions/2</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1631670781578035203-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1631670781578035203-1.jpg" alt="@ChromeDevTools 的配图 1/1" loading="lazy" decoding="async" width="1720" height="1056" /></a>
    </div>
  </div>
</div>
