Skip to content

aparajitdotbee/nft-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 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


Mobile Preview

Mobile Preview


Desktop Preview

Mobile Preview

Links

My process

Built with

  • HTML5
  • CSS3

What I learned

Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.

To see how you can add code snippets, see below:

.container .image div {
    position: absolute;
    top: 0;
    background-color: hsl(178, 100%, 50%, 60%);
    width: 100%;
    height: calc(100% - 5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.container .image div:hover {
    opacity: 1;
    cursor: pointer;
}

Continued development

  • Hover animations
  • Spacing and indentations

Useful resources

  • Kevin Powell YouTube Channel - He is a CSS evangelist and helped me with little tips and tricks along the way on the animations, and provided a great understanding on the usage of margin and padding.

Author

Aparajit Balaji

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published