data-type

<relative-size> — CSS reference

Smaller and larger compute relative to the inherited font size. They do not specify a fixed ratio mandated for every browser.

Formal Syntax & Structure

css syntaxcss
font-size: larger;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>&lt;relative-size&gt;</title><style>body{margin:0;background:white}#a{box-sizing:border-box}body{font-size:20px}#a{font-size:larger}</style><body><div id="a">Example</div></body></html>
CSS Reference