CSS padding-block-end property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerNot supported
EdgeNot supported
OperaFully supports
Description
It is a logical property that defines space at the end of content inside a block. The selection of start side depends on the writing-mode.
It behaves like padding-bottom for the horizontal-tb writing mode.
-
It behaves like padding-right or padding-left for the vertical-lr and vertical-rl writing-mode respectively.
Change the direction of flow of text.
horizontal-tb vertical-lr vertical-rl
Syntax
padding-block-end : +ve length
Property values
+ve length
-
+ve value represents space at the end of content inside a box.
- Try it
padding-block-end: 20px;
Applicable to
It applies to all elements