From 9f8942224bf195c2bfb5031668b1b28b49fe57da Mon Sep 17 00:00:00 2001 From: Yuhei Yasuda Date: Thu, 21 Mar 2024 12:54:59 +0900 Subject: [PATCH] fix table layout in 2024-03-18-html-components-and-css-components-in-tailwindcss --- ...l-components-and-css-components-in-tailwindcss.mdx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/content/blog/2024-03-18-html-components-and-css-components-in-tailwindcss.mdx b/src/content/blog/2024-03-18-html-components-and-css-components-in-tailwindcss.mdx index cc28621..7588514 100644 --- a/src/content/blog/2024-03-18-html-components-and-css-components-in-tailwindcss.mdx +++ b/src/content/blog/2024-03-18-html-components-and-css-components-in-tailwindcss.mdx @@ -185,8 +185,11 @@ componentsレイヤーがutilitiesレイヤーと異なるのは、後ろのレ ただし実は、表に示したように、ITCSSとTailwind CSSのレイヤーが明確に一対一の関係にマッピングできるわけではない。ITCSSのcomponentsレイヤーとTailwind CSSのcomponentsレイヤーは、一部役割が被るところがある。たとえば、公式プラグインにある`prose`クラスや`form-*`クラスはITCSSで言えばcomponentsに近いが、HTMLテンプレートではなくTailwindのcomponentsレイヤーで実装されている。前述の表をより正確に表すとすれば次のようになるだろう。 -
-
+
+
ITCSS
Tailwind CSS
generic
@@ -194,8 +197,8 @@ componentsレイヤーがutilitiesレイヤーと異なるのは、後ろのレ
elements
base
objects
-
**components**
-
**components**
+
**components**
+
**components**
HTMLテンプレート
utilities
utilities