HTML Dog
Skip to navigation

CSS Property: padding-top

The top padding of a box, inside the top margin and border areas, and outside the top of the content area.

Possible Values

ValueNoteExample
[length]Should not be a negative value.10px
[percentage]Calculated as a percentage of the containing box’s width.
Should not be a negative value.
25%
inherit
initial
unset

Example


#puffin { padding-top: 36px; }

Browser support