Skip to content

mark-escosura/nft-preview-card-component-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Links

My process

Built with

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

Continued development

  • Position property - Before this project, I had little knowledge when it comes to using the position property. Although, I plan on increasing my understanding of this css layout. I feel like this is a very powerful styling property and when mastered, will help me become a better front-end developer.

Author

Acknowledgement

  • Danilo Blas - @Sdann26 - I was having trouble making the view icon fully visible on hover and Danilo proposed a solution that fixes my problem and suggested that I leave the opacity at 1 on hidden:hover class but changing the background using the alpha option which gives the background transparency.
hsla(178.1, 100%, 50%, 0.5);

The value 'a' (alpha) in hsla is to give it opacity.

About

An NFT card component with astonishing UI design

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published