Skip to content

AmrEwais/NFT-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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

ONLY WITH

  • Semantic HTML5 markup
  • CSS custom properties

What I learned

lernd how to do hover on image with another image

.overlay{
    position: relative;
    
}
.imgequ{
    width: 100%;
    border-radius: 8px;
    display: block;
}
.icon{
    position: absolute;
    top: 0;
    background: hsla(178, 100%, 50%, 0.5);
    transition: 0.5s ;
    opacity:0;
    border-radius: 8px;
    padding: 42%;
    width: 16%;
}
.overlay:hover .icon{
    opacity: 1;
}

Continued development

Why Not!

Useful resources

I realy love this site

Author

  • Website - working on it
  • Frontend Mentor - @AmrEwais

About

NFT preview card using HTML and CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published