Font size medium in css

css, font-size, html

Solution

I believe it's based on the user's preferred font size in their browser, which is probably set to 11 or 12.

See here too for more info Does the CSS 'font-size: medium' set font to .Body font size or to the *browser*'s base font size?

Problem

How does the `font-size` medium/small/large work in css? If the css has a `font-size:11px`, then what is the `font-size:medium` for other elements, does it depend on the font size, or is it unrelated to font size?

Original source

Related problems