list-style-position
Determines whether the list bullet appears inside or outside the text block. 'inside' makes the bullet part of the first line of text, while 'outside' keeps it in the margin.
It is documented as part of the CSS Lists and Counters specification.
Syntax
/* Usage Example */
ul.compact-list {
/* Makes the bullet sit inside the regular text flow */
list-style-position: inside;
}
/* Syntax */
list-style-position: inside;
list-style-position: outside;
/* Global values */
list-style-position: inherit;
list-style-position: initial;
list-style-position: revert;
list-style-position: revert-layer;
list-style-position: unset;
list-style-position Browser support
Widely available
Since
2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
1+
1+
1+
12+