DECSS | Definitive Ecosystem of CSS
- 文責
- @debiru_R
- 作成日
- 2025年2月2日
Keywords: CSS, CSS設計, Semantic CSS, Utility First CSS, Tailwind CSS, Master CSS

- Author Name
- Takai Minoru
- Twitter (X)
- @debiru_R
- GitHub
- https://github.com/debiru/
- Biography
- Web application developer who has been researching HTML and CSS since around 2000. Always thinking about HTML and CSS design theory. HTML Expert.
DECSS (pronounced /decks/ or /dee-ee-CSS/) is neither a CSS module like Tailwind CSS nor a CSS methodology like BEM. DECSS is a term coined to describe a philosophy about the Definitive Ecosystem of CSS. In short, DECSS is a kind of treatise on what CSS should be. Since I, the author, am Japanese, so other pages will be written in Japanese only.
DECSS(/デックス/ または /ディー・イー・シーエスエス/ と発音する)は Tailwind CSS のような CSS モジュールでもなければ BEM のような CSS 設計の方法論でもありません。DECSS は、CSS の究極の生態系 (Definitive Ecosystem) についての思想を表す造語です。要するに、DECSS は CSS のあるべき姿についての論考です。著者である私は日本人なので、他のページは日本語で書かせていただきます。
In a nutshell, what DECSS wants to consider is whether we should use Utility-First CSS like Tailwind CSS.
一言で言えば、DECSS が考察したいことは、Tailwind CSS のような Utility-First CSS の是非を問うことです。
My definitive theory is that whether to design with semantic CSS or utility-first CSS is a matter of preference, not a matter of which is better.
I am Japanese and eat Japanese food on a daily basis. But I also eat Italian food, and pasta is one of my favorites. If you were to go to a restaurant with me, and I were to order pasta instead of Japanese food, you would not advise me that "You should eat Japanese food". It's the same thing. If someone is trying to use Tailwind CSS, you have no right to advise them that "It is not good and you should use semantic CSS design".
This is a matter of taste. Both Japanese and Italian food are wonderful, and if you keep eating the same thing, on the other hand, you may eventually stop wanting to eat it. If that happens, you can always try something else. Comparing Japanese and Italian food is nonsense. You only need to consider whether what you want to eat is to the liking of that "development project" or not.
... However, you may not know for which projects semantic CSS design or utility-first CSS design is appropriate. Let's take a closer look at each of these and other CSS design techniques.
私の究極的な持論は、Semantic CSS による設計と Utility-First CSS による設計のどちらを用いるかについては好みの問題であって、どちらが優れているかという問題ではないということです。
私は日本人で和食を日常的に食べます。しかしイタリア料理も食べますし、パスタも好きなもののひとつです。もし、あなたが私と一緒にレストランに行って、私が和食ではなくパスタを注文したとしても、あなたは私に「和食を食べなさい」とはアドバイスしないでしょう。それと同じことなのです。もし誰かが Tailwind CSS を使おうとしていたとしても、あなたが「それは良くないから、Semantic CSS 設計をすべきだ」とアドバイスするのはおかしいことなのです。
これは好みの問題なのです。日本料理もイタリア料理も素晴らしいものです。一方で同じものばかり食べ続けていると、そのうち食べたくなくなってしまうかもしれません。その場合には、他の料理を食べればよいのです。日本料理とイタリア料理を比較するのはナンセンスなのです。食べたいものが、その「開発プロジェクト」の好みに合うか合わないかだけを考えればよいのです。
……とは言っても、どんなプロジェクトに Semantic CSS 設計あるいは Utility-First CSS 設計が適しているのかわからないでしょう。それぞれの、あるいはその他の CSS 設計手法についての詳細を見ていきましょう。
- 従来の MPA による HTML, CSS の基礎について知りたい方はこちら
- HTML and CSS Basics
- SPA による HTML, CSS の設計手法について知りたい方はこちら
- Learn CSS with SPA
- Semantic CSS の考え方について知りたい方はこちら
- Semantic CSS Approach
- Utility-First CSS の考え方について知りたい方はこちら
- Utility-First CSS Approach
