Skip to content

mahmood601/nft-preview-card-component-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 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

  • Solution on github: here
  • Live Site: here

My process

Built with

  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

.container .img:hover::before {
 content: url("images/icon-view.svg");
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  color: #000;
  z-index: 1;
}

Useful resources

  • Elzero Web School - This website help people to learn programming and web developement by Mr Osama Mohammad
  • CSS Tricks - This is an amazing website for learning CSS in professional way

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published