Can I use an emoji in CSS?

In: Emojis for Developers

Yes — emojis work in any CSS property that takes a string:

.btn::before { content: "🚀 "; }

Or escape the code point with \:

.btn::before { content: "\1F680 "; }

Set font-family to include your OS emoji font for consistent rendering.

Read about Can I use an emoji in CSS? in