<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>邊框 on BenzHub</title><link>https://benzhub.github.io/tags/%E9%82%8A%E6%A1%86/</link><description>Recent content in 邊框 on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Mon, 17 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/%E9%82%8A%E6%A1%86/index.xml" rel="self" type="application/rss+xml"/><item><title>TailwindCSS 邊框：border、rounded 圓角、ring 焦點環全解 | TailwindCSS 完整教學</title><link>https://benzhub.github.io/post/tailwindcss/017-borders/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/tailwindcss/017-borders/</guid><description>&lt;blockquote&gt;
&lt;p&gt;上一篇替版面上好了「面」與「光」，這一篇替每個區塊「描邊、圓角、分隔」。&lt;strong&gt;TailwindCSS&lt;/strong&gt; 的邊框系統涵蓋 &lt;code&gt;border&lt;/code&gt;（佔空間的邊框）、&lt;code&gt;rounded&lt;/code&gt;（圓角）、&lt;code&gt;ring&lt;/code&gt;（不佔空間的焦點環）、&lt;code&gt;outline&lt;/code&gt;（輪廓）與 &lt;code&gt;divide&lt;/code&gt;（子元素分隔線）五大類。v4 對這套系統動了幾刀——&lt;code&gt;border&lt;/code&gt; 預設色改成 &lt;code&gt;currentColor&lt;/code&gt;、&lt;code&gt;ring&lt;/code&gt; 預設寬度從 3px 降為 1px，還新增了獨立的 &lt;code&gt;inset-ring-*&lt;/code&gt; 內側環。這一篇會帶你把邊框、圓角與分隔線做得又俐落又有層次。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>