fix(challenges): Add more examples of text-align CSS property (#16624)

Closes #16446
pull/16662/head
David Golightly 2018-02-07 11:07:17 -08:00 committed by mrugesh mohapatra
parent 72cfdf037e
commit 9203192a21
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@
"description": [
"This section of the curriculum focuses on Applied Visual Design. The first group of challenges build on the given card layout to show a number of core principles.",
"Text is often a large part of web content. CSS has several options for how to align it with the <code>text-align</code> property.",
"The <code>justify</code> property causes all lines of text except the last line to meet the left and right edges of the line box.",
"<code>text-align: justify;</code> causes all lines of text except the last line to meet the left and right edges of the line box.",
"<code>text-align: center;</code> centers the text",
"<code>text-align: right;</code> right-aligns the text",
"And <code>text-align: left;</code> (the default) left-aligns the text.",
"<hr>",
"Align the <code>h4</code> tag's text, which says \"Google\", to the center. Then justify the paragraph tag which contains information about how Google was founded."
],