ScanSkill

padding-right

The padding-right property sets the padding at the right side of the element.

Syntax

padding-right: value | auto;

Example

.div-1 {
            padding-right: 20px;
        }
padding-right

Property Values

value: sets the given value as the padding to the right side of an element.

auto: automatically sets the padding to the right side of an element.