Single price grid component - HTML & CSS

Solution retrospective
Hey People :D
What do you think? Any suggestions on how I can improve are welcome!
I have a question: when do you use: px, em/rem, %?
Thank you
Please log in to post a comment
Log in with GitHubCommunity feedback
- @iamjmitch
In answer of your question: when do you use: px, em/rem, %?
Best practice is supposedly to use
rem
but for your own personal projects, use what ever you feel most comfortable with.Personally I use
px
and%
for container tags andpx
for text. - @antoinerame
Hey ! Greate usage of flexbox & responsive even if it's pretty simple on this type of project. For me % are useful for div in others when you want them to vary and px when you want to have a fixed width or height for an object. Good luck for the futur !
Join 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