Just out of curiosity, how does this works?
content: "";
Above CSS code becomes a heart icon on Medium. Is it purely CSS or some JavaScript involved? Or what are these called?
It's just an unicode character, like 👍 or ❤. Check this unicode table and try.
You have some useful information about unicode at this article .
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.