Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 4 years ago

NFT Landing Page Project using HTML and CSS

Utsav Jha•30
@UtsavJ23
A solution to the NFT preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Please help me out with my queries!! 1)How should we change the size of NFT card in such a way that it adapts to the screen size. Like in my case it has fixed pixels size but I wanted it in percentage of the page. (I tried many things like align-center, margin: auto but couldn't achieve it) 2) A follow-up to (1) how to implement website design that will work on both desktop and mobile browsers. 3)If there are multiple cards, then how to align the image with respect to the card. ( I tried position : relative but I couldn't do it). In short how can we align elements to a particular block?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Utsav Jha's solution.

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

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

Frontend Mentor

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

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