Glossary Term
padding-top
The padding-top CSS property sets the height of the padding area on the top of an element.
An element’s padding area is the space between its content and its border.
!The effect of the CSS padding-top property on the element box
Note: The padding property can be used to set paddings on all four sides of an element with a single declaration.
Values: <length> The size of the padding as a fixed value. Must be non-negative. <percentage> The size of the padding as a percentage, relative to the inline size (width in a horizontal language, defined by writing-mode) of the containing block. Must be non-negative.
Syntax example: padding-top: 0.5em;
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
