|
|
|
|
|
by dutchCourage
780 days ago
|
|
The idea is similar, but a component contains markup and logic on top of the styles. The approach Tailwind takes is that since the component is named and contained, its elements don't have to be named explicitly. And while we could then use inline CSS, it has some limitations so utility classes are a more powerful tool. |
|