How to control size of list-style-type disc in CSS?

后端 未结 11 1336
暗喜
暗喜 2020-12-23 17:24

My HTML first:

11条回答
  •  无人及你
    2020-12-23 17:40

    Apart from using custom images for bullets, you can also style the ul or li elements one way and then style the contents differently, as seen here.

    The benefit is the lack of images for one thing, and also the added control. The disadvantage is that it tends to involve non-semantic markup, except in this case where the anchors are required already.

提交回复
热议问题