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 Foundations Values and Units Relative Length Units

Help using rem's to set base font size?

I'm not exactly sure what I'm doing wrong here. I'm a bit confused on how to use rem's to solve the em compounding issue. Here's my code:

h1 {
    font-size: 2.5em;
}

p {
    font-size: 1.5em;
}

.more {
    font-size: 1.5rem;
}

2 Answers

Devin Gray
Devin Gray
39,261 Points

REM means the "Root EM", the question asks you to change the .more class back to its base font size, its base font size being 16px or 1em. So with that in mind try again and see what you get.

Thank you very much, sir! Your reply was very helpful :)

Devin Gray
Devin Gray
39,261 Points

Glad I could be of service! :)