Design comparison
SolutionDesign
Community feedback
- @samimkabiruPosted 9 months ago
Hello @giselida, your solution looks great but let me give an extra tip that might help. The image in your NFT preview component looks kind of squashed compared to the reference material. A solution to this would be to set the
object-fit
property tocover
. With this, the image will be set back to it's normal size but some parts of the image will be cropped out if aheight
property was explicitly set. I hope this helpsMarked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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