Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
221,450 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!