#cssmodules
Tailwind CSS入門
Tailwindはクラス名を文字列として走査してCSSを生成するため、JS変数を含むクラス名は効かないことを説明しています。

ビルド時に文字列として見つからない値には、対応するスタイルが生成されないので、使う候補はあらかじめ完全な文字列で書いておく必要があります。
Tailwind CSS入門
ウェブでのUIスタイリングには、素のCSSやCSSModules、CSS-in-JS、UIライブラリを使うなど、さまざまな選択肢があります。その中でも、TailwindCSSは2010年代後半から徐々に普及してきたCSSフレームワークです。
ics.media
October 19, 2026 at 4:02 AM
I know I've said this before, but I really hate CSS Modules.

Seriously, can it please go die in a fire?

#webdev #CSS #CSSModules
February 25, 2025 at 7:00 PM
Ha! There’s indeed a discussion at the #shadcn repo about stripping all of the #TailwindCSS stuff from the Shadcn components. So far, none of the maintainers have shown up, but people are already creating forks and implementing #CSSModules.

github.com/shadcn-ui/ui...
December 1, 2024 at 9:33 PM
I realized the #shadcn components I wanted to use were built with #tailwindcss as well. Shit. I got annoyed, lazy, and asked #chatgpt to rewrite them into #cssmodules for me. It worked well, but the thought of doing this for every new component? Frustrating.
December 1, 2024 at 6:34 PM
Last week, I spent a lot of time thinking about styling my #reactjs project. Started with #tailwindcss but got annoyed quickly (for a few reasons) and rewrote everything with styled-components. Didn’t like it either, so I switched again to #cssmodules ’cus it felt simpler. And it was! But…
December 1, 2024 at 6:28 PM
💅 Using CSS Modules in your projects.
CSS Modules are often underrated. Looking for an alternative to Tailwind CSS? They’re one of the cleanest ways to keep styles scoped to your components and avoid global CSS conflicts.

Let’s go through some practical tips. 🧵
#DeveloperTips #CSSModules
September 8, 2025 at 12:21 PM
“How to obfuscate CSS class names with React and Webpack” by @develoger#reactjs #cssmodules #classnames

develoger.com/how-to-obfusca…
How to obfuscate CSS class names with React and Webpack
Motivation
develoger.com
December 2, 2024 at 1:03 PM
I remember getting into heated arguments years ago over Styled Components. I thought they were a bad idea and pushed for CSS Modules instead. Happy to report: I was right.

#WebDev #CSS #Frontend #StyledComponents #CSSModules #TechOpinions
April 3, 2025 at 6:16 PM
In my side-projects, I've fallen back to React/Redux/CSSModules/All relative paths/Simple Redux Router.

I'm done with complexity.

github.com/andyjessop/p...
github.com
June 18, 2025 at 9:47 AM
Tech stack-wise, this is React with Preact Signals, PouchDB for storage, a custom Router with nested routes (based of this one I built last year: github.com/andyjessop/p...), Mantine for building blocks, CSSModules all the way, Cloudflare DO, with Supabase Auth.
pivot/packages/lib/router at main · andyjessop/pivot
A front-end state management framework for highly decoupled and long-lived code. - andyjessop/pivot
github.com
December 20, 2024 at 8:36 AM