View Single Post
Old 06-15-2020, 04:30 PM   #13
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,367
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Jellby is correct - 120% or 1.2em are effectively the same thing. They are both 1.2 times the size of the font selected by the user - or defined in the body tag.

It is fairly common - in web page design - to assign the standard font size in the <body> (eg. body {font-size 100%}) and then use em's to define the relative font-size to that 100%. If the user changes the font size in their browser, then all fonts change with respect to the base font size in a usable manner. eBooks are similar. I leave the 100% in the body for default purposes, some may choose not to, but the user has the ability to overide that setting with their reader/app settings.

Here's a much better explanation...make sure you read the "addendum" at the end.
https://kyleschaeffer.com/css-font-s...-pt-vs-percent
Turtle91 is offline   Reply With Quote