fix(challenges): Add more examples of text-align CSS property (#16624)
Closes #16446
This commit is contained in:
committed by
mrugesh mohapatra
parent
9f7f0077f2
commit
4a93ae7f39
@ -29,7 +29,10 @@
|
|||||||
"description": [
|
"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.",
|
"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.",
|
"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>",
|
"<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."
|
"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."
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user