CSS Padding-Top Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies the top padding properties for the element.
Syntax
padding-top: [value];
Possible values
- [padding-width]
- inherit
Initial Value
0
Applies To
All elements
Inherited
No
Media
Visual
Example
h2 {padding-top: 10em;}