The padding-left
property sets the padding at the left side of the element.
padding-left: value | auto;
.div-1 {
padding-left: 20px;
}
value: sets the given value as the padding to the left side of an element.
auto: automatically sets the padding to the left side of an element.