Product preview card with html and css made with sass
Design comparison
Solution retrospective
Hi everyone.
This is my second or third challenge resolved. I'm improving my skills, but I can't make a responsive website. What do you think? Do I need to use the rem or em units?
Thanks for your comments.
Community feedback
- @NoelVegaJrPosted over 2 years ago
rem seems like the way to go and is what I am using as well as using max-width instead of width.
I'd also look into using classes more often then id's and try to avoid long selectors in css. This will make your code more readable and easier to maintain in my opinion.
Below is a link to reference to my css to the same project. https://github.com/NoelVegaJr/product-preview-card-component/blob/main/styles.css
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord