@Blackpachamame
Posted
Congratulations on completing your first challenge! you have done really well
I can suggest the following:
- To make your image look better you can apply the following changes, instead of setting it to
width= 288px
, better set it to300px
, that will make your image really occupy 100% of the width of your card (without exceeding the padding). Withdisplay: block
you eliminate a white space that is generated below the image. And withborder-radius
you apply the borders to the image, as in the design:
img {
max-width: 100%;
width: 300px;
height: auto;
display: block;
border-radius: 10px;
}
Marked as helpful
@JeanJackcss
Posted
@Blackpachamame Oh, Hi!
Thank you so much for the advices, I'm really new at this things, but for sure I'll apply your suggestions. :)