CSS · Properties — CSS Logical Properties and Values
padding-inline
The CSS padding-inline property. Initial value: padding-inline-start,padding-inline-end. Not inherited.
Syntax
padding-inline: <'padding-top'>{1,2}Example
Try it
Notes
Media: visual. Applies to: allElementsExceptInternalTableDisplayTypes. Computed value: padding-inline-start,padding-inline-end.
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.