Updated index.md to change the grammatical mistakes (#32494)

* Updated index.md to change the grammatical mistakes

In the line no. 6, added an "an" before the word "element". Similar corrections in line no. 8, 9, and 10. In line no. 8, "then" is added in the line to make a proper meaning in completing the sentence. The word "to the" is added before the words such as "top", "left" and "bottom" in line nos. 9 and 10 to make a proper sentence.

* Update index.md

* Added a , before the then statement
This commit is contained in:
Akhil Babu
2019-03-02 03:59:10 +05:30
committed by Randell Dawson
parent 8eae311392
commit e59e7cd2dd

View File

@ -3,12 +3,12 @@ title: Padding Property
---
## Padding Property
CSS `padding` property adds internal space between the content and border of element. You may use `padding-top`, `padding-right`, `padding-bottom` and `padding-left` for a specific side of an element, but `padding` is shorthand version for all these properties. If:
CSS `padding` property adds internal space between the content and border of an element. You may use `padding-top`, `padding-right`, `padding-bottom` and `padding-left` for a specific side of an element, but `padding` is shorthand version for all these properties. If:
* One value is provided it will apply to all sides of element
* Two values are provided, first value will apply top and bottom sides and second value will apply to left and right sides of element.
* Three values are provided, first value will apply to top, second value will apply left and right, third value will apply bottom sides of element.
* Four values are provided, values will apply in the following order: top, right, bottom, left.
* If one value is provided, then it will apply to all sides of an element.
* If two values are provided, then first value will apply to the top and bottom sides and second value will apply to the left and right sides of an element.
* If three values are provided, then first value will apply to the top, second value will apply to the left and right, third value will apply to the bottom sides of an element.
* If four values are provided, then values will apply in the following order: top, right, bottom, left.
#### More Information: