Design comparison
Solution retrospective
Hi! I'm still confused when is right time to use px, em, or rem, so I'm mostly use rem for the length value, is that the right thing to do?.
And any suggestion on the other CSS technologies that I can use for this challenge?
I'm new to the front end development, I don't know if this is the best approach to this challenge, so a feedback would meant a lot to me.
Thanks!
Community feedback
- @iamjmitchPosted almost 4 years ago
Hi, in terms of when to use
rem
vsem
vspx
vs%
, for your own personal projects, use what ever you're comfortable with. In a professional environment, have a read of this article https://engageinteractive.co.uk/blog/em-vs-rem-vs-pxWith the CSS there's nothing wrong with using SASS or something similar. How youve done it is fine as the CSS required is quite short however once you get to bigger projects you'll make your coding faster by using some sort of CSS pre-processor
1
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