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.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Solution URL: (https://github.com/ahmedZ0k/nft-preview-card)
- Live Site URL:(https://ahmedz0k.github.io/nft-preview-card/)
- Semantic HTML5 markup
- CSS custom properties
- CSS Flexbox
- Mobile-first workflow
- Create an image overlay by creating another div and make it adapted.
- use margin instead of padding in image div to make the border radius of image more effictive
- footer outside the main div
- Example resource 1 - This helped me for image overlay reason. I really liked this pattern and will use it going forward.
- Frontend Mentor - https://www.frontendmentor.io/profile/ahmedZ0k
- Linkedin - https://www.linkedin.com/in/ahmed-zakaria-63b72b1b5/
- Github - https://github.com/ahmedZ0k