<?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%99%B0%E5%BD%B1/</link><description>Recent content in 陰影 on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Tue, 18 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/%E9%99%B0%E5%BD%B1/index.xml" rel="self" type="application/rss+xml"/><item><title>TailwindCSS 陰影與效果：shadow、opacity、mix-blend 全解 | TailwindCSS 完整教學</title><link>https://benzhub.github.io/post/tailwindcss/018-shadows-effects/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/tailwindcss/018-shadows-effects/</guid><description>&lt;blockquote&gt;
&lt;p&gt;上一篇替版面描好了「邊」與「角」，這一篇替每個區塊點上「光」。&lt;strong&gt;TailwindCSS&lt;/strong&gt; 的陰影與效果系統涵蓋 &lt;code&gt;shadow-*&lt;/code&gt;（盒陰影）、&lt;code&gt;shadow-&amp;lt;color&amp;gt;&lt;/code&gt;（彩色陰影）、v4 全新的 &lt;code&gt;inset-shadow-*&lt;/code&gt;（內側陰影）與 &lt;code&gt;text-shadow-*&lt;/code&gt;（文字陰影），再加上 &lt;code&gt;opacity&lt;/code&gt;（不透明度）、&lt;code&gt;mix-blend-mode&lt;/code&gt;（混合模式）與 &lt;code&gt;bg-blend-*&lt;/code&gt;（背景混合）。這些工具是打造卡片層次、發光按鈕、玻璃擬態與品牌視覺的核心。v4 對這套系統動了幾刀——盒陰影刻度整體平移、新增 &lt;code&gt;inset-shadow-*&lt;/code&gt; 與 &lt;code&gt;text-shadow-*&lt;/code&gt;、陰影顏色可直接用 &lt;code&gt;/&lt;/code&gt; 透明度修飾符。這一篇會帶你替扁平的版面加上最關鍵的一層立體感。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>