padding-inline-end

A logical property that sets the padding at the end of the inline axis. For left-to-right text, this is 'padding-right'.

.sidebar-link {
  /* Adds space on the right (for LTR) or left (for RTL) logically */
  padding-inline-end: 15px;
}
Initial value
0
Inherited
No
Applies to
allElementsExceptInternalTableDisplayTypes
Animation type
length

Values

padding-top
Widely available Since 2021 95% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.

Safe to use without fallbacks.

69+
41+
12.1+
79+
ESC