- Home
- /
- Tutorials
- /
- CSS Tutorial
- /
- CSS Font Size
CSS Text & Fonts
CSS Font Size
The CSS Font Size property is used to control the size of text displayed on a webpage.
Adjusting font size helps improve:
- Readability
- Accessibility
- Visual hierarchy
- User experience
Different font sizes are often used to distinguish headings, subheadings, and body text. The supporting concepts are explained in CSS Units and Web Fonts & Typography.
Syntax
CSS Font Size Syntax
css
selector {
font-size: value;
}