Horizontal line between two words

后端 未结 3 1236
情歌与酒
情歌与酒 2021-01-29 02:28

How can I add a line between this two words with css:

Last Action Items------------------------------View more----

Without the \"-\"

I did this: https://

3条回答
  •  失恋的感觉
    2021-01-29 02:41

    This is a somewhat cleaner version of @RobAu his second solution. It should work.

    span {
      display:inline-block;
      border-bottom: 1px solid black;
      line-height:0
    }
    Last Action Items View more 

提交回复
热议问题