As I delve into the world of responsive design, I am eager to understand the most effective practices when it comes to utilizing em and percentage units of measurement. In a scenario where I set the font-size
of the body to 10px
, could this potentially lead to issues if I opt to declare all font-sizes as em's (e.g., 1em = 10px, 2.5em = 25px, etc.)?
Furthermore, when should I choose to use em units over percentages? Are em units primarily suitable for typography purposes, while percentages are better suited for sizing, margin, padding, and other elements?
The concept of being able to adjust font size seamlessly during media queries by modifying the body font-size is appealing. However, I am uncertain whether I should allow my layout and spacing to adjust based on text size variations. What are your thoughts on this matter?