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 Component

@AshongAbdallah06

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

@thaisavieira

Posted

Hello, @AshongAbdallah06! You made a great project.

It's possible to centralize the body content by adding the property height: 100vh and you can remove other things like width, margin, and padding.

body{
    background-color: hsl(217, 54%, 11%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

Also it's possible to add the active state by using the :hover selector in h1.description, span.author , and image.equilibrium

0

@AshongAbdallah06

Posted

@thaisavieira Thanks for the comment. But using the height: 100vh had some complications in the work and didn't fit well, maybe due to some background styles. As for the hovering effects, I just forgot to add them.

0

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