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

karan karan
seal-mask
.a{fill-rule:evenodd;}techdegree
karan karan
Web Development Techdegree Student 4,139 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.