Skip to content

Jak-Ch-ll/FM_NFT-Preview-Card-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - NFT preview card component solution

Hi there,

This is the solution for my first Frontend Mentor challenge: NFT preview card component challenge

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

Links

My process

Built with

  • Semantic HTML5 markup
  • BEM Methodology
  • Flexbox
  • CSS custom properties

What I learned

At first, I put the clock and Etherium icons in the markup, which created a mess of CSS classes. I even experimented with separating the meta-information bar into a separate component from a BEM standpoint. When working on the hover effect with the eye icon, I immediately decided to put it in a pseudo-element because it has no real semantic meaning. While taking a break, I realised that this might be the better approach for the other icons, too.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published