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 Card Project

TamVik 30

@TamVik

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Ahmed Bayoumi 6,800

@Bayoumi-dev

Posted

Hey! There is an issue with the view-icon transparent... to fix it, Use background-color: hsla(178, 100%, 50%, 0.5); instead of background-color: hsl(178, 100%, 50%); and change opacity: 0.7; to opacity: 1;

.main-photo-overlay-primary {
    background-color: hsla(178, 100%, 50%, 0.5);          /* <---Changed*/
    border-radius: 10px;
} 


.main-photo-overlay:hover {
    opacity: 1;          /* <---Changed*/
    cursor: pointer;
}

Hope this is helpful to you... Keep coding👍

Marked as helpful

0

TamVik 30

@TamVik

Posted

@Bayoumi-dev Thank you so much for your help, I've implemented the changes.

0
Danilo Blas 6,300

@Sdann26

Posted

Hi TamVik!

Your challenge looks really good, I would only recommend you to center it vertically as follows:

body {

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}

At most I will tell you to add a little bit of shadow to the card to make it look like the design but you have done quite well, congratulations!

Marked as helpful

0

TamVik 30

@TamVik

Posted

@Sdann26 Hi there, I've just changed it, thank you for helping me.

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