I loathe tailwind.
Sorry:
<section class="relative overflow-hidden !py-0 mt-10">
<div class="container pt-t10 text-left prose bg-light fg-dark mt-5">
<p class="p prose visible fg-dark m-auto w-fit max-w-32 p-10 font-medium">I loathe tailwind.</p>
</div>
</section>
#css #webDev #tailwind
@cassidy the whole idea with using tailwind is using a component framework or library with it to encapsulate those long class names. Code like the one you share should only be the “output” of it all. It looks messy, but it’s a way of achieving a FP-like composition in CSS, and you can completely forget about !important, fighting specificity and so on. Customizing components is also a breeze using libs like tailwind-merge. You can also use `@apply`.
But yeah, the output can look ugly.