/FM-NFT-preview-card

Responsive NFT Preview card made with CSS flexbox and Grid

Primary LanguageCSS

Frontend Mentor - NFT preview card component solution

This is a solution to the NFT preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size
  • See hover states for interactive elements

Screenshot

Desktop Version
Desktop Screenshot
Mobile Version
Mobile Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid

What I learned

I've learnt html preconnect link to load faster google fonts. I also learnt that minifying CSS not only reduces file size but also helps in refactoring.

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />

Useful resources

Author