The margin-inline-end
CSS property defines the logical inline end margin of an element.
In LTR
direction, it corresponds to the margin-right
property.
In RTL
direction, it corresponds to the margin-left
property.
0px
Default value.
<length>
<length>
means that the size of the margin as a fixed value, can be positive, zero, or negative.
<percentage>
The size of the margin as a percentage, relative to the inline size (width) of the containing block. It can be positive, zero, or negative.
auto
Selects a suitable margin to use. For example, in certain cases this value can be used to center an element.
Currently, Lynx supports using auto
in flex, grid and linear children that are not with position:fixed/absolute/sticky
.
Additionally, in linear layout, it only supports using auto
on the cross axis. We plan to support using auto
on the main axis in the future.
Initial value | 0 |
Applies to | all elements |
Inherited | no |
Animatable | |
Percentages | refer to the width of the containing block |
auto
in flex, grid and linear children that are not with position:fixed/absolute/sticky
. Additionally, in linear layout, it only supports using auto
on the cross axis. We plan to support using auto
on the main axis in the future.LCD tables only load in the browser