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 Enhancing Design with CSS Styling Text Google Fonts

karan Badhwar
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
karan Badhwar
Web Development Techdegree Graduate 18,135 Points

Google Fonts Offline

If I want to use Google Fonts on my website and I do not have Internet connection, then my website will start looking for the fallback fonts right? and I do not want that to happen how can I just use them do I need to download the file and then use @font-face?

1 Answer

from what I remember you have to download them and link them in CSS and/or HTML with the "href" or "src" function. This way it will import the font to the files you are editing.