DEV Community

Discussion on: Why I switched from normal CSS to Tailwind CSS

Collapse
 
budhimself profile image
HENRY Francois

I agree that writing class="flex flex-row justify-center align-center h-10 w-10" may not be clear. But you must not forget that you can create a class composed of another class using "@apply".
Like class="myClass"

.myClass {
@apply flex flex-row justify-center align-center h-10 w-10
}

With a meaningful name for your class.