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

前端 未结 6 1218
小鲜肉
小鲜肉 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:20

    You shouldn't use LIs in email. They are unpredictable across email clients. Instead you have to code each bullet point like this:

    This is the first bullet point
    This is the second bullet point

    This will ensure that your bullets work in every email client.

提交回复
热议问题