CSS marker-offset
The CSS marker-offset
property can be used in bulleted lists for specifying the distance between the nearest border edges of a marker box (or bullet) and its associated principal box.
Syntax
Possible Values
- length
auto
inherit
In addition, all CSS properties also accept the following CSS-wide keyword values as the sole component of their property value:
initial
- Represents the value specified as the property's initial value.
inherit
- Represents the computed value of the property on the element's parent.
unset
- This value acts as either
inherit
orinitial
, depending on whether the property is inherited or not. In other words, it sets all properties to their parent value if they are inheritable or to their initial value if not inheritable.
General Information
- Initial Value
auto
- Applies To
- Marker elements (elements with
display: marker
) - Inherited?
- No
- Media
- Visual
Example Code
Official Specifications
The marker-offset
property was defined in CSS Level 2 only. It was removed in CSS 2.1 and it is no longer part of CSS.