From 10ba73b42daeb9817f072ef5859e67cec384bc29 Mon Sep 17 00:00:00 2001 From: Dallin Reeves <44125979+dallin91@users.noreply.github.com> Date: Wed, 28 Nov 2018 09:33:18 -0600 Subject: [PATCH] Added section on importing fonts from Google (#22888) --- guide/english/css/fonts/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guide/english/css/fonts/index.md b/guide/english/css/fonts/index.md index 2ab4194da9..437a0e0103 100644 --- a/guide/english/css/fonts/index.md +++ b/guide/english/css/fonts/index.md @@ -19,6 +19,15 @@ mechanism for preserving style if the family-name is unavailable. A generic name family names are serif, sans-serif, monospace, cursive, fantasy, system-ui. In addition to specifying common fonts that are found on most operating systems, custom web fonts can be used as well. To import such a font, copy the font URL from the library and reference it in the HTML. +### Importing a font from Google +If you want to use a font that is not downloaded on your computer, you can import one from [fonts.google.com](https://fonts.google.com/). + +```css + +``` + +Then you can use the font that you have imported (in this example, 'Lobster') in your code as normal. + ### Font style The `font-style` property can be used to specify italic text.