Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennedy-was-taken/nft-preview-card-component-main
https://github.com/kennedy-was-taken/nft-preview-card-component-main
angular css html5 mobile-first opacity-control transitions
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kennedy-was-taken/nft-preview-card-component-main
- Owner: Kennedy-was-taken
- Created: 2024-01-26T15:27:17.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-29T21:27:03.000Z (12 months ago)
- Last Synced: 2024-01-29T23:39:34.497Z (12 months ago)
- Topics: angular, css, html5, mobile-first, opacity-control, transitions
- Language: CSS
- Homepage: https://nft-preview-card-component-main-silk.vercel.app
- Size: 691 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - NFT preview card component solution
This is a solution to the [NFT preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Author](#author)## Overview
### The challenge
Users should be able to:
- View the optimal layout for the page depending on their device's screen size
- See hover states for all interactive elements on the page### Screenshot
![Full screen](./src/assets/content-images/desktop-preview.jpg)### Links
- Solution URL: [GitHub code solution URL](https://github.com/Kennedy-was-taken/nft-preview-card-component-main)
- Live site Url : [Vercel QR code app](https://nft-preview-card-component-main-silk.vercel.app)### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- @media### What I learned
1. Evolution of Dimension Definitions :
Throughout the development of this frontend, I iterated on how I defined width and height for elements. Initially, I relied on viewport units (vw) for both dimensions.
2. Rethinking Width and Height Definitions :
After experimentation, I realized that using viewport width (vw) for width and viewport height (vh) for height yielded better results. This adjustment enhanced the responsiveness and consistency of the layout.
3. Transition Effects :
I explored the use of transitions to enhance user interactions. By implementing transitions, I aimed to create a seamless and engaging experience, especially when hovering or clicking on images.
4. Perceptual Feedback :
To provide perceptual feedback to users, I experimented with overlapping elements and transitions. This approach aimed to simulate interactions such as hovering or clicking on an image, ensuring that the transition occurred at a consistent pace.
## Author
- Github Profile: [Kennedy-was-taken](https://github.com/Kennedy-was-taken)
- Frontend Mentor : [@Kennedy-was-taken](https://www.frontendmentor.io/profile/Kennedy-was-taken)