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! While you're at it, check out some resources Treehouse students have shared here.
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 trialPawel Ellwart
12,993 PointsMargin 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
51,094 Pointshttps://www.w3schools.com/cssref/css_units.asp
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