Categories
css css-padding

CSS PADDING TOP

This property controls the size of the top padding of an element’s rendering box. Negative values are not allowed.

Example
blockquote {
padding-top: 3em
}

Some text

Possible Values

inherit: Explicitly sets the value of this property to that of the parent.
[length]: Refers to either an absolute measurement or a relative measurement based on the current element’s font size.
[percentage]: Refers to a percentage of the width of the current element’s containing block.

Leave a Reply

Your email address will not be published. Required fields are marked *

Leave a Reply

Your email address will not be published. Required fields are marked *