DEV Community

Discussion on: You will love Tailwind CSS

Collapse
 
wevisualizeit profile image
Jordan Hernandez • Edited

You can 'store' the classes in an object : example -->
const style = {
card:['max-w-sm rounded overflow-hidden shadow-lg content-center mx-auto'],
}
return(
div className={style.card}
)