padding-right Description:
The padding-right property defines the right padding of the element.
padding-right in CSS Versions:
padding-right Syntax:
padding-right: <length> | <percentage>
- length
A specific length (include unit of measure). - percentage
A percentage of the height of the closest block-level ancestor.
padding-right Initial Value:
0
padding-right Applies To:
All elements.
padding-right Inheritance:
This property is not inherited.
padding-right Browser Support:
padding-right Examples:
standard padding-right
<p style="padding-right : 2em;">
This paragraph has a 2 em right padding.
</p>
padding-right Special Notes:
- Negative values are not permitted.
- The padding will inherit the background properties of the element.

