Closed seanmturley closed 9 months ago
Adding a slight border radius to the Card component looks nice.
Card
The border-radius probably has to be applied separately to the img:
border-radius
img
border-radius: 2rem 2rem 0 0;
and section.card__body:
section.card__body
border-radius: 0 0 2rem 2rem;
Additional padding will likely be required to make sure the text in div.card__stats is still positioned well.
div.card__stats
Added a slightly smaller radius than planned - this keeps the effect subtle, whereas the larger radius required a lot of padding to look balanced, which overall produced a "cartoony" effect.
Description
Adding a slight border radius to the
Card
component looks nice.Approach
The
border-radius
probably has to be applied separately to theimg
:and
section.card__body
:Additional padding will likely be required to make sure the text in
div.card__stats
is still positioned well.