CSS font-size Property

The css font-size property sets the font size of the text inside the element to which it is applied, and that of its descendants. You can size text using absolute measurements, or measurements relative to the affected element’s parent or root elements. CSS Text Styling Fundamentals provides an overview.

Syntax for font-size property

absolute-size | relative-size | length | percentage | inherit