Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
13
Comments
1
Mohamed Khaled
@mohamedkhaled4053

All comments

  • JimiIT92•70
    @JimiIT92
    Submitted over 3 years ago

    NFT Preview Card Component

    1
    Mohamed Khaled•160
    @mohamedkhaled4053
    Posted over 3 years ago

    for the overlay, you can just make the container element flex in your case make nft-image flex with display: flex

    for me, I used the ::before pseudoelement for the overlay

    Marked as helpful
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub