简体   繁体   中英

How do I change the color of a check mark to white in iOS Safari?

Currently, I have a heavy check mark ✔︎ ( ✔ ) on my website. I need the color of the checkmark to be white so that it would appear correctly in dark mode.

<span style="color: white;">&#10004;</span>

It displays fine in Safari on Mac.

Mac 上的 Safari

However, in Safari on iOS, it remains black.

iOS 上的 Safari

How do I change the color of the checkmark to white in Safari on iOS?

An emoji is displayed in mobile Safari. Add &#xFE0E; after &#10004; should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM