4 ms·
This should be a crime against humanity: body { font-size: 12px; line-height: 17px; }
by kevin_thibedeau 5y ago
This should be a crime against humanity:
body { font-size: 12px; line-height: 17px; }
- dkonofalski 5y agoWhy?
- weare138 5y agoWhen you use fixed font sizes like that browsers can't resize them based on the screen size/viewport. 12px fonts are really small and hard to read on high resolution screens.
- echeese 5y agoThat's false, px refers to CSS pixel, which is not tied to physical screen pixels.
- kevin_thibedeau 5y agoIt still renders excessively small on my lo-dpi screen. Absolute pixel sizing text is silly even if it is a phony virtualized unit.
- dkonofalski 4y agoThey can still zoom them in, though. It's not like specifying a font size is an absolute value.
- tomjakubowski 5y agoMy guess is that it's 1 pixel short of a typical 1.5x line height.
- dkonofalski 4y agoStandard line heights are usually 1.4.
- deleted 5y ago[deleted]
- unsupp0rted 5y agoIn college I was told to use 12pt font and now you and your browser must live with that.