P
AlvaroPrates• 110
@AlvaroPrates
Posted
Good work, keep on practicing!
Let's go over some point that I observed from the screenshot:
- I think the card component would look better if centralized in the page. You could achieve that by wrapping the card in a
<main>
or<section>
tags and setdisplay: flex;
and addalign-items: center;
andjustify-content: center;
. - Need to ajust the card
width
property. In the figma files the card's width is384px
. To make this adjustment easier, you can setbox-sizing: border-box
in a universal CSS selector. - In the design there is a little thin black border around the card. You can add all the properties in the
border
property. - Need to adjust the spacing between elements in the card information. I think the easiest way to achieve different spacing is with the
margin-bottom
property. - Probably should add a little more padding to the card, but I'm just being picky...
Marked as helpful
0
hart-wiz• 80
@Hart-wiz
Posted
@AlvaroPrates thanks alot sir, this was very helpful....implemented the border-sizing: border-box and width. came out so well, wow ....much appreciated, still implementing other changes.
0