Merge pull request #10204 from Deborah-Digges/fix/padding-wording

Make wording for padding a little clearer
This commit is contained in:
Brendan Kinahan
2016-08-14 13:39:20 +00:00
committed by GitHub

View File

@ -3515,7 +3515,7 @@
"Now let's put our Cat Photo App away for a little while and learn more about styling HTML.",
"You may have already noticed this, but all HTML elements are essentially little rectangles.",
"Three important properties control the space that surrounds each HTML element: <code>padding</code>, <code>margin</code>, and <code>border</code>.",
"An element's <code>padding</code> controls the amount of space between the element and its <code>border</code>.",
"An element's <code>padding</code> controls the amount of space between the element's content and its <code>border</code>.",
"Here, we can see that the green box and the red box are nested within the yellow box. Note that the red box has more <code>padding</code> than the green box.",
"When you increase the green box's <code>padding</code>, it will increase the distance between the text <code>padding</code> and the border around it.",
"Change the <code>padding</code> of your green box to match that of your red box."