News for hackers. Stuff that matters.
Re:Assembler CSS, a modern utility-first framework by onion2k on Thursday August 12, 2021 @08:35AM (#28155440)
The example on that site of the gradient button with "Preview" text is broken. The text isn't centered because the container is set to display: flex but no flex-grow set to expand the content box to fill the parent. It has text-center set, but because the box is collapsing that's not working as expected. Really, it needs Tailwind's justify-items-center applied to it.

I'd worry about using a framework whose primary example is wrong.

There are no comments on this comment yet.