Description

Sets the font size of an element. Font-sizes can be specified by constants of xx-small, x-small, small, medium, large, x-large, xx-large or by units such as px, pt and em or percentages.
Browsers display font-sizes differently and many can override your settings. It is best to use values that can be resized by the browser and allow for this in your site design.

Example

 p.big{font-size:large;}

Default value
medium
Introduced in CSS version
1
Applies to elements
All
Inherited
Yes
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions51160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties