I'm working with Tailwind css, which is really good because of those utility classes. Even Bootstrap has many utility classes. a single element can have so many utility classes.
<div class="sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl max-h-96">
</div>
Is it possible to group those classes in one super class and only apply the one?
.wrapper {
class1;
class3;
class3;
...
classn;
}
And apply that on the HTML element
<div class="wrapper">
</div>
I'm not sure if this is even possible. However, is there anything close to this?
Thank for helping