# Set the distance between the marker and the text relating to that marker with CSS

JavascriptWeb DevelopmentFront End Scripts

The marker-offset property allows you to specify the distance between the marker and the text relating to that marker.

## Example

You can try to run the following code to implement marker-offset property

<html>
<body>
<ul style = "list-style: inside square; marker-offset:3em;">
<li>UK</li>
<li>US</li>
</ul>
<ol style = "list-style: outside upper-alpha; marker-offset:3cm;">
<li>UK</li>
<li>US</li>
</ol>
</body>
</html>
Published on 17-Apr-2018 11:21:38