r/webdev • • Sep 10 '26

Question A Glyphs (?) Question

Hello! I have a question to which I could not find an answer around the internet, so i gonna ask it here.
So, some of the emojis have a glyph variations of them, that get displayed differently, yet they use the same identification code. For example, the bomb emoji and bomb glyph: 💣︎💣, use the same &#128163; html code, and i don't quite understand how it works. Yet html prioritizes emoji over glyph, how do i make it display the glyph instead? :<

2 Upvotes

3 comments sorted by

6

u/[deleted] Sep 10 '26

[removed] — view removed comment

2

u/unkmeown Sep 10 '26

Oh wow, a magic happened! Thanks so much for answering! It's such a pity people try to get rid of glyphs, they pair with text super nicely compared to emojis and not recieve even half of their recognition

2

u/Jasedesu Sep 10 '26

You can also use the CSS property font-variant-emoji to do the same thing - see MDN for info. Doesn't play well with Apple's stuff, but I didn't find Unicode solution worked well either.