DEV Community

Discussion on: 🌢️ Spicy Personal Page in HTML/CSS, from scratch, in 1 day!

Collapse
 
bechirmakhlouf profile image
Bechir Makhlouf

Oh, I get it now, I usually use rem for font-size and em for margins and paddings, is my approach correct? And since I've found someone who explains well, there is question that is always on my mind, and it's could we run into problems with font-size being too big (in small screens) and it being too small ( in Tv size monitors)? because unlike other things in the website (like divs and imgs) text-size doesn't scale up or down depending on the view port size, even when using rems and ems (because they are just relative the font-size of the root element which is usually 16px?). And sorry for bombarding you with my questions πŸ˜….

Thread Thread
 
pavsky profile image
Pawel Betkowski

In general, TV screens are such a minimal margin it’s not the best idea to make big decision based on that. Get to know your audience, find out what they use, and test on whatever you can.
Ideally you want to follow accessibility guidelines, as outlined in accessibility.psu.edu/fontsizehtml/

Thread Thread
 
bechirmakhlouf profile image
Bechir Makhlouf

Noted, thanks!