From 4398114837c20b4fcebb2e3c489bbf4d256bf49f Mon Sep 17 00:00:00 2001 From: Ethan Date: Sat, 23 Feb 2019 05:29:26 +1100 Subject: [PATCH] Added a CSS line-height page to the guides (#33288) --- .../css/properties/line-height-property/index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/guide/english/css/properties/line-height-property/index.md b/guide/english/css/properties/line-height-property/index.md index a66d7d2eb8..27958d8f06 100644 --- a/guide/english/css/properties/line-height-property/index.md +++ b/guide/english/css/properties/line-height-property/index.md @@ -2,14 +2,14 @@ title: Line Height Property --- ## Line Height Property +The `line-height` property sets the height of each line of text in an element. Lines in an element with a larger `line-height` will have more space in-between them. -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. - - +A `line-height` can be set using... +* A fixed value (such as `25px`) +* A percentage of the current `font-size` (such as `130%`) +* A unitless number (such as `2`) which is multiplied by the current `font-size` (so `2` is double the `font-size`). #### More Information: - - +[Line-height on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height) +[Line-height on W3Schools](https://www.w3schools.com/cssref/pr_dim_line-height.asp)