CSS · Properties — CSS Box Model
padding-top
The CSS padding-top property. Initial value: 0. Not inherited.
Syntax
padding-top: <length-percentage [0,∞]>Example
Try it
Notes
Media: visual. Applies to: allElementsExceptInternalTableDisplayTypes. Computed value: percentageAsSpecifiedOrAbsoluteLength.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.