Removing “bullets” from unordered list

    前端 未结 6 936
    温柔的废话
    温柔的废话 2020-12-09 01:01

    I have set this:

    list-style: none outside none;
    

    And HTML:

    6条回答
    •  予麋鹿
      予麋鹿 (楼主)
      2020-12-09 01:36

      In my case

      li {
        list-style-type : none;
      }
      

      It doesn't show the bullet but leaved some space for the bullet.

      I use

      li {
        list-style-type : '';
      }
      

      It works perfectly.

    提交回复
    热议问题