Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

NFT Preview Component with Cube CSS

renko7 50

@renko7

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello,

I had difficulty adding border to the image. I kept trying to add the border but the circle would be uneven. Any help with that along with CSS formatting would be appreciated

Community feedback

Anna Leigh 5,135

@brasspetals

Posted

Hi, renko7! 👋 Congrats on submitting another solution!

In order to create a circle, a border-radius of 50% (or higher) is needed. To add the border to the profile image on the bottom of the card, try adding the following to .footer img:

border: 1px solid white;
border-radius: 50%;

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord