Setting Up a Typographic Scale in CSS


Establish a harmonious typographic scale for consistent and appealing text sizing.

Source Code

body { font-size: 16px; }
h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
p { font-size: 1em; }
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments