Skip to content
royalpriestPublic

About

FT preview card with an image hover overlay (Frontend Mentor challenge).

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Preview Card

An NFT preview card component built with HTML and CSS. It is my solution to the Frontend Mentor NFT preview card challenge.

Live site: https://royalpriest.github.io/qr/

Features

  • A card for the "Equilibrium #3429" NFT, with its image, title, description, price in ETH, time left and creator.
  • Image hover overlay. Hovering the artwork fades in a coloured overlay with an eye icon, using a CSS transition.
  • Hover states on the title and the creator's name.
  • Uses the Outfit font from Google Fonts and the colours from the challenge style guide.

Built with

  • HTML5
  • CSS3 (positioning, transitions, hover states)
  • Google Fonts (Outfit)

Project structure

.
├── index.html      # Card markup
├── css/
│   └── styles.css  # Card styles and hover effects
├── images/         # NFT image, avatar and icons
└── style-guide.md  # Colours and typography

Run it locally

There is no build step. Clone the repo and open index.html in a browser:

git clone https://github.com/royalpriest/qr.git
cd qr
open index.html   # or double-click the file

Author

Royalpriest Babalola (@royalpriest) on Frontend Mentor

Acknowledgements

Challenge and design by Frontend Mentor.

About

FT preview card with an image hover overlay (Frontend Mentor challenge).

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages