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

Solution Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • BEM CSS Methodology

Continued development

I will continue to build this NFT component card to use it for my another project. I'm still learning how to make reusable css styling for future projects.

Useful resources

  • CSS Style Image - This helped me for styling the image hover overlay and give border line to the avatar image. I'd recommend it to anyone for learning to style using vanilla css.

Author