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) Enhancing the Design With CSS Web Fonts with @font-face

SeHyun Choi
SeHyun Choi
3,441 Points

Class of title does not work

in index.html <header id="top" class="main-header"> <span class="title">Journey through the Sierra Nevada Mountains</span> <h1>Lake Tahoe, California</h1> <img class="arrow" src="img/arrow.svg" alt="Down arrow"> </header>

in style.css .title { color:white; font-size:1.625rem; /26px divided by 16 pixsels/ letter-spacing:.065em; font-weight:200; border-bottom:2px solid white; padding-bottom:10px;

}

1 Answer

Steven Parker
Steven Parker
231,269 Points

Ignoring forum formatting issues, the CSS looks OK. Is ti being loaded in the HTML (the loading is not shown here)?

Is there some other styling that will provide a background so that the while letters can be seen?