Second line in li starts under the bullet after CSS-reset

后端 未结 3 1483
故里飘歌
故里飘歌 2020-11-29 21:30

I\'m having some problems with my ul-list after using applying CSS-reset.

When the text in the li is long and it breaks to a second line, th

3条回答
  •  甜味超标
    2020-11-29 22:10

    I second Dipaks' answer, but often just the text-indent is enough as you may/maynot be positioning the ul for better layout control.

    ul li{
    text-indent: -1em;
    }
    

提交回复
热议问题