/frontendmentor-nftpreview

Solution to the NFT preview card component challenge on Frontend Mentor

Primary LanguageSCSS

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

Normal state Hover state

Links

My process

Built with

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

What I learned

  • You can't use CSS properties within @font-face rules.
  • How to use Sass mixins to reuse code.

Useful resources

Author