From 7c3bee20348b920df82735f821914ffc9e6f864a Mon Sep 17 00:00:00 2001 From: Kyle Jackson <43935897+kylewjackson@users.noreply.github.com> Date: Sat, 3 Nov 2018 23:41:49 -0500 Subject: [PATCH] small grammatical change/clarification (#20961) * small grammatical change/clarification * Fix formatting --- guide/english/css/fonts/index.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/guide/english/css/fonts/index.md b/guide/english/css/fonts/index.md index 9ab954f2b2..2ab4194da9 100644 --- a/guide/english/css/fonts/index.md +++ b/guide/english/css/fonts/index.md @@ -5,9 +5,9 @@ title: Fonts The CSS font properties define the font family, weight, size, variant, line height and style of a text. ### Font family -The font family of a text is simply set by using the `font-family` property. +The font family of a text is set by using the `font-family` property. -It works with a *fallback* system, if your browser does not support the first font, it tries with the next one and so on. If the name of the font is more than one word it must be surrounded by quotes. +It works with a *fallback* system, meaning if your browser does not support the first font, it tries with the next one and so on. If the name of the font is more than one word it must be surrounded by quotes. ```css p { @@ -80,13 +80,14 @@ p { ``` ### Font responsiveness -The text size can be set with a vw(viewport width) unit. -That way the text size will follow the size of the browser window. +The text size can be set with a `vw` (viewport width) unit. +This will allow the text to adjust to the size of the browser window. ```html -

Hello World

+

Hello World

``` -`Viewport is the browser window size. 1vw = 1% of viewport width. If the viewport is 50cm wide, 1vw is 0.5cm.` + +Viewport is the browser window size. 1vw = 1% of viewport width. If the viewport is 50cm wide, 1vw is 0.5cm. ### Font variant The `font-variant` property specifies if a text should be displayed in a small-caps font (where all lowercase letters are converted to uppercase letters while appearing in a smaller font-size than the original uppercase letters in the text).