Design comparison
Solution retrospective
I was trying to learn about using Rem and Em that which one is suitable with margin, padding or dimension (width or height) and I learned that Em is often used for spacing that uses standard font sizes in Unit of measurement e.g., margin size between heading and paragraph and padding in button depend on font-size in button. For the unit Rem, it is a size measurement that relative on the main font size of the page used with Margin Padding and Dimension, depending on what or when it is used, e.g., padding of division tag contain a content or margin between element and element.
If you have any suggestions or corrections, please let me know. Thank you.
Community feedback
- @freaky4wrldPosted about 1 year ago
Hey there here's a link to a video that's great in differentiating in rem and em, by Brad Traversy !!!
I hope this helps in resolving your query.......
Marked as helpful0@Chanawin-kmpnPosted about 1 year ago@freaky4wrld Thank for suggestion this video has clearly example. It's really helpful.
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