Skill ID: VisualFlair_31
Description: Give boxes, images, or buttons soft, curved corners.
Where to apply: Buttons, cards, images, input fields for a softer look.
Key Tailwind Classes:
rounded
,
rounded-lg
,
rounded-full
Gotcha:
Applying
rounded-*
to a parent container doesn't automatically round the corners of its child elements if they fill the parent (like an image). You might need
overflow-hidden
on the parent, or also apply
rounded-*
to the child.
rounded
Small rounded corners
rounded-lg
Larger rounded corners
rounded-full
Full circle
Parent with
rounded-lg
and
overflow-hidden
(Gotcha addressed):
Parent with
rounded-lg
, child image also
rounded-lg
: