The padding-bottom
property designates the amount of space between an element’s contents and its bottom border.
Padding cannot use negative values.
div.ex {
padding-bottom:30px;
}
length
Defines in length units (px, pt, em, etc.) the space (padding) between the bottom of the content and the bottom border of the element. Default value is 0.
%
Defines the space (padding) between the bottom of the content and the bottom border of the element in percentage of the width of the containing element.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of padding-bottom
? Submit a codepen.io demo and we'll showcase it here ↴