HTML + CSS: Ordered List without the Period?

后端 未结 6 1928
再見小時候
再見小時候 2020-11-27 03:05

I think the answer to this question is no... but does anyone know of a an HTML/CSS way to create an ordered list without a period after the numbers? Or, alternatively, to sp

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 03:37

    This is the simplest solution without counter-increment and inline tags inside li:

    ol {list-style-position: inside; overflow: hidden; direction: rtl;}
    li {position: relative; left: -15px; text-align: left; letter-spacing: 5px;}
    

提交回复
热议问题