li:before{ content: “■”; } How to Encode this Special Character as a Bullit in an Email Stationery?

前端 未结 6 1210
小鲜肉
小鲜肉 2021-01-30 04:00

After proudly coloring my liststyle bullet without any image url or span tags, via:

ul{ list-style: none; padding:0;  margin:0;  }
li{ padding-left: 1em; text-in         


        
6条回答
  •  无人及你
    2021-01-30 04:43

    Lea's converter is no longer available. I just used this converter

    Steps:

    1. Enter the Unicode decimal version such as 8226 in the tool's green input field.
    2. Press Dec code points
    3. See the result in the box Unicode U+hex notation (eg U+2022)
    4. Use it in your CSS. Eg content: '\2022'

    ps. I have no connection with the web site.

提交回复
热议问题