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 trial

CSS CSS Basics (2014) Understanding Values and Units Em and Rem Units

dijanadenic
dijanadenic
2,198 Points

a little stuck at the CSS length units task

Challenge Task 2 of 3

Create a new rule that targets the h2. The h2's parent element has a font-size value of 16px. Use an em unit to give the h2 a font-size value equivalent to 53px.

header { font-size: 1.8em; }

.title { font-size: 1.625rem; }

h1 { font-size: 5.625rem; } h2{?} It's probably something easy,but i don't get 3.312em for an h2 accepted

1 Answer