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.
- The challenge
- Screenshot
- Links
- Built with
- What I learned
- Continued development
- Useful resources
- Author
- Acknowledgments
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://fgvs11.github.io/nft-preview/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
I finally used variables in CSS.
--soft-blue: hsl(215, 51%, 70%);
--cyan: hsl(178, 100%, 50%);
--main-BG: hsl(217, 54%, 11%);
--card-BG: hsl(216, 50%, 16%);
--line: hsl(215, 32%, 27%);
--white: hsl(0, 0%, 100%);
}
I have to learn how to use the mobile first, in order to make websites with responsive design.
- CSS :hover Selector - This is an amazing article which helped me finally the property hover. I'd recommend it to anyone still learning this concept.
- Github - Fernando Genaro Vizcaino Sanchez
- Frontend Mentor - @Fgvs11