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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![MUZ140067 Precious Mutangi](https://secure.gravatar.com/avatar/bb6a7ce1e80c930b069aee3a913b3bf4?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
MUZ140067 Precious Mutangi
13,064 PointsSTAGE 4 CHALLENGE TASK 3 OF 3
Select the link with the class more. Using the rem unit, set its font size back to the base font size of the root HTML element.
<!DOCTYPE html>
<html>
<head>
<title>Relative Length Units</title>
<link rel="stylesheet" type="text/css" href="cc1-main-styles.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="box">
<h1>Let's use Font-Relative Length Units</h1>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<a class="more" href="#">Read more...</a>
</p>
</div>
</body>
</html>
/* Write your CSS code below */
html {
font-size:1.2rem;
}
1 Answer
![Nejc Vukovic](https://uploads.teamtreehouse.com/production/profile-photos/2012982/micro_benti_nejc.jpg)
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 Points/* Write your CSS code below */
html {
font-size:1.2rem;
}
.more {
font-size: 1.0rem;
}
This should do the trick. Remember rem = root em !
Nick Janes
5,487 PointsNick Janes
5,487 PointsIs this what you're asking?