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/
- 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.
- HTML5
- CSS3 (positioning, transitions, hover states)
- Google Fonts (Outfit)
.
├── index.html # Card markup
├── css/
│ └── styles.css # Card styles and hover effects
├── images/ # NFT image, avatar and icons
└── style-guide.md # Colours and typography
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 fileRoyalpriest Babalola (@royalpriest) on Frontend Mentor
Challenge and design by Frontend Mentor.