Re: [csswg-drafts] [css-lists] A way to control the gap between the marker and the text (#4571)

I guess there's the possibility of
```css
::marker {
  content: counter(list-item) "     ";
}
```

where you choose the number of spaces depending on the desired gap.

For more precision, maybe you can use a tabulator and control its size with `tab-size`. Currently it doesn't apply to ::marker, but you may have luck inheriting it:
```css
.list-item { tab-size: 10px }
::marker { content: counter(list-item) "\9 " }
```

If `margin` is added to the list of properties supported in ::marker, I guess you will be able to use that.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4571#issuecomment-562781792 using your GitHub account

Received on Friday, 6 December 2019 23:32:18 UTC