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 Units

Part of my title is minute i mean real tiny but i followed the video .

Any help........?

code:

/* Type Selectors ------------------ */

body { color: #878787; margin: 0; font-size: 1em; }

h1 {
font-size: 90px; color: white; }

h2 { font-size: 53px; }

h3 { font-size: 20px; color: #48525c; }

/* Pseudo-classes ------------------ */

a:link { color: orange; }

a:visited { color: lightblue; }

a:hover { color: forestgreen; }

a:active { color: lightcoral; }

/* ID Selectors -------------------- */

main-footer {

padding-top: 60px; padding-bottom: 60px; border-bottom: solid 10px orange; }

/* Class Selectors ----------------- */

.main-header { background-color: orange; width: 100%; margin-left: %; }

.title { color: white; font-size: 1.625px; /* 26px/16px*/ }

.primary-content, .secondary-content { width: 60%;

}

.primary-content { text-align: center;

}

.t-border { border-top: 2px solid lightgrey; /* Top border styles */ }

1 Answer

Steven Parker
Steven Parker
229,645 Points

:point_right: Your .title class setting of font-size: 1.625px; is very, very tiny indeed.

You may have intended that to be em units instead of pixels!