Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design Web Typography Final Project: Create a Typographic Site Getting Started: HTML and CSS

Margin values in h2 and h3

Why margin in h2/h3 was set to 0.54em and .9em 0 .62em? I understand that the purpose is to fit the basehold but how the values were calculated? Based on what?

1 Answer

vincent batteast
vincent batteast
51,094 Points


you can read this but it is basic of the font size of the dom. so if you do this

body{ font-size: 16px }

it would be base of the 16px