Filled “o” character in unicode or imitated via CSS

后端 未结 2 2045
暖寄归人
暖寄归人 2021-01-14 17:48

I need to write this text in HTML:

I tried to use some unicode characters like ● Unicode Character \'BLACK CIRCLE\' (U+25CF) or ⬤ Unicode Character \'BLACK

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-14 18:03

    I would suggest to use CSS border-radius to create the solid "o" circle.

    span {
        font-family: sans-serif;
        font-size: 50px;
    }
    i {
        display: inline-block;
        text-indent: -9999px;
        width: 30px;
        height: 30px;
        background: black;
        vertical-align: middle;
        border-radius: 50%;
    }
    Now.

提交回复
热议问题