Tailwind CSS
対象バージョン: Tailwind CSS v4.3.3 (npm latest, GitHub tag tailwindlabs/tailwindcss@v4.3.3, 2026-07-16 リリース)。
- docs リポジトリ
tailwindlabs/tailwindcss.com にはタグが無いため、main の HEAD commit 7f92c2213315c195dae583d68752da4042da3ade (2026-09-09) に pin。取得日は 2026-10-16
- v3 (npm
v3-lts 3.4.19, v3.tailwindcss.com で配信) は対象外。v3 → v4 の移行は references/getting-started/upgrade-guide.md と scripts/upgrade.md
ディレクトリ構成
skills/tailwindcss/
SKILL.md
references/
getting-started/ # 8 ページ: compatibility, editor-setup, framework-guides, play-cdn, tailwind-cli, upgrade-guide, using-postcss, using-vite
README.md
core-concepts/ # 10 ページ: theme, colors, dark-mode, responsive-design, preflight, functions-and-directives 等
README.md
layout/ # 23 ページ: display, position, overflow, aspect-ratio, columns, z-index 等
README.md
flexbox-grid/ # 24 ページ: flex, gap, grid-template-columns, justify-*, align-*, place-* 等
README.md
spacing-sizing/ # 14 ページ: padding, margin, width, height, min/max-*, inline-size, block-size
README.md
typography/ # 14 ページ: font-*, line-height, letter-spacing, line-clamp, list-style-*
README.md
text/ # 18 ページ: color, text-align, text-decoration-*, text-wrap, white-space, word-break 等
README.md
backgrounds-borders/ # 16 ページ: background-*, border-*, outline-*
README.md
effects/ # 14 ページ: box-shadow, text-shadow, opacity, mask-*, mix-blend-mode
README.md
filters/ # 20 ページ: filter-*, backdrop-filter-*
README.md
interactivity/ # 24 ページ: cursor, scroll-*, scrollbar-*, user-select, fill, stroke, touch-action 等
README.md
transitions-transforms/ # 17 ページ: transition-*, animation, transform, rotate, scale, translate, perspective 等
README.md
samples/
README.md
<framework>.md # nextjs, react-router, tanstack-start, sveltekit, nuxt, astro, angular, laravel, rspack, solidjs, qwik, parcel
theme-custom-colors-fonts.md, custom-utility.md, layer-components.md, source-detection.md,
dark-mode-toggle.md, state-variants.md, container-queries.md, arbitrary-values.md
scripts/
README.md
install.md
cli.md
upgrade.md
探索手順
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの
references/{category}/README.md を参照して目的のページを特定する(utilities はプロパティ名がそのままファイル名)
- 該当ページの
.md を Read して詳細を確認する
- 導入手順は
samples/ のフレームワーク別ファイル、コマンドは scripts/ を参照する
タスク → カテゴリ マッピング