Aug 28, 2024
mx-auto
to center the container.px-4
.w-48 h-48
, use size-48
for a square shape.divide-y
or divide-x
to a parent container to separate child elements.divide-red-500
).space-y-4
on a parent element to space out children vertically.line-clamp-3
to limit text to three lines.truncate
to maintain a single line of text.from
, via
, and to
properties (e.g., bg-gradient-to-r from-orange-500 to-black
).ring
class for a ring effect (e.g., ring-4
). Can combine with borders.animate-spin
for built-in animations.sr-only
hides elements visually but keeps them accessible.not-sr-only
to make elements visible again.prose
class for beautifully styled elements (great for markdown).