CSS padding right

CSS padding right is used to set the space between the HTML element tag border and its content from the right.


Syntax

Output

This is the padding right example.


CSS padding right values list

Sr. No.valueDescription
1valueUsed to specify the value in px, percentage. The value for this for example 15px.
2initialUsed to define as the property initial value.
3inheritUsed to define the computed value of property on the elements parent.
4unsetUsed to define the property either acts as inherit or initial, depending on the property if it is inherited or not.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.