CKTIS / CSS
font-variant-emoji — emoji presentation
font-variant-emoji selects the default text or emoji presentation for eligible Unicode characters.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
font-variant-emoji: normal | text | emoji | unicode;font-variant-emoji is inherited; its initial value, normal, leaves the choice to the browser. text requests presentation as with U+FE0E, while emoji requests presentation as with U+FE0F. unicode follows Unicode defaults, not necessarily platform choices.
The property affects only characters participating in Unicode emoji presentation sequences. Explicit U+FE0E and U+FE0F override CSS. Available fonts and font fallback influence appearance; identical glyphs across platforms are not guaranteed.
Examples
<!doctype html>
<meta charset="utf-8">
<title>font-variant-emoji</title>
<style>
p { font-size: 2rem; }
.text { font-variant-emoji: text; }
.emoji { font-variant-emoji: emoji; }
</style>
<p class="text">text: ❤</p>
<p class="emoji">emoji: ❤</p>
<p class="emoji">emoji + U+FE0E: ❤︎</p>Result
Expected presentation preferences: text, emoji, text. Actual glyphs depend on available fonts and browser behavior.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.