Usage of CSS marker-offset property

CSSWeb DevelopmentFront End Technology

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

Example

<html>
   <head>
   </head>
   <body>
      <ul style = "list-style: inside square; marker-offset:2em;">
         <li>LAN</li>
         <li>WAN</li>
      </ul>
   </body>
</html>
raja
Published on 17-Apr-2018 11:53:17
Advertisements