Vertically align smaller bullets with larger text

后端 未结 4 905
情歌与酒
情歌与酒 2021-02-05 08:06

I have a list with bullets. I made the bullets smaller by putting the li text inside a span and making the font-size of the li smaller tha

4条回答
  •  孤城傲影
    2021-02-05 09:04

    Try this:

    li span{
      font-size: 25px;
      vertical-align:middle;
      padding-bottom:5px;
    }
    

    See it here: http://jsfiddle.net/tXzcA/19/

提交回复
热议问题