font-variant-emoji CSS property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The font-variant-emoji CSS property specifies the default presentation style for displaying emojis.

Traditionally, this was done by appending a Variation Selector, U+FE0E for text and U+FE0F for emoji, to the emoji code point. Only emojis listed as contributing to a Unicode emoji presentation sequence are affected by this property.

Syntax

css
/* Keyword values */
font-variant-emoji: normal;
font-variant-emoji: text;
font-variant-emoji: emoji;
font-variant-emoji: unicode;

/* Global values */
font-variant-emoji: inherit;
font-variant-emoji: initial;
font-variant-emoji: revert;
font-variant-emoji: revert-layer;
font-variant-emoji: unset;

The font-variant-emoji property is specified using a single keyword value from the list below.

Values

normal

Allows a browser to choose how to display the emoji. This often follows the operating system setting.

text

Renders the emoji as if it were using the unicode text variation selector (U+FE0E).

emoji

Renders the emoji as if it were using the unicode emoji variation selector (U+FE0F).

unicode

Renders the emoji in accordance with the Emoji presentation properties. If the U+FE0E or U+FE0F variation selector is present, then it will override this value setting.

Formal definition

Initial valuenormal
Applies toall elements and text. It also applies to ::first-letter and ::first-line.
Inheritedyes
Computed valueas specified
Animation typediscrete

Formal syntax

font-variant-emoji = 
normal |
text |
emoji |
unicode

Accessibility

While the use of emojis may seem fun, you should consider their impact on accessibility, specifically for users with visual and cognitive impairments. Consider the following factors while using emojis:

  • Display on screen-readers: Screen-readers will read out the alt text of an emoji. Keep this in mind to consider the position of an emoji in the content. Repeated and overuse of emojis will have a detrimental effect on screen-reader users. It is better to use emojis than emoticons; emoticons will be read out as punctuation characters.

  • Contrast with background: When using emojis, consider their colors and how that will work with the background color, especially if you have background colors that can change, such as light/dark modes.

  • Intent of use: Do not use emojis to replace words because your understanding of the emoji meaning may differ from that of the users'. Also consider that emojis might have different meanings in different cultures and geographies. Our recommendation is to preferably limit usage to commonly known emojis.

Examples

Changing the way an emoji is displayed

This example shows how you can render an emoji in its text or emoji presentation.

HTML

html
<section class="emojis">
  <div class="emoji">
    <h2>text presentation</h2>
    <div class="text-presentation">☎</div>
  </div>
  <div class="emoji">
    <h2>emoji presentation</h2>
    <div class="emoji-presentation">☎</div>
  </div>
</section>

CSS

css
.text-presentation {
  font-variant-emoji: text;
}

.emoji-presentation {
  font-variant-emoji: emoji;
}

Result

Specifications

Specification
CSS Fonts Module Level 4
# font-variant-emoji-prop

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
font-variant-emoji
Chrome – Full support
Chrome 131 (Release date: 2024-11-12)
footnote Full support
Edge – Full support
Edge 131 (Release date: 2024-11-14)
footnote Full support
Firefox – Full support
Firefox 141 (Release date: 2025-07-22)
footnote Full support
Opera – Full support
Opera 116 (Release date: 2025-01-08)
footnote Full support
Safari – No support
Safari 17.5 (Release date: 2024-05-13)
disabled
disabled From version 17.5 users must explicitly set the CSS font-variant-emoji property preference to true.
Chrome Android – Full support
Chrome Android 131 (Release date: 2024-11-12)
footnote Full support
Firefox for Android – Full support
Firefox for Android 141 (Release date: 2025-07-22)
footnote Full support
Opera Android – Full support
Opera Android 87 (Release date: 2025-01-22)
footnote Full support
Safari on iOS – No support
Safari on iOS 17.5 (Release date: 2024-05-13)
disabled
disabled From version 17.5 users must explicitly set the CSS font-variant-emoji property preference to true.
Samsung Internet – Full support
Samsung Internet 29 (Release date: 2025-10-25)
footnote Full support
WebView Android – Full support
WebView Android 131 (Release date: 2024-11-12)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support
emoji
Chrome – Full support
Chrome 131 (Release date: 2024-11-12)
footnote Full support
Edge – Full support
Edge 131 (Release date: 2024-11-14)
footnote Full support
Firefox – Full support
Firefox 141 (Release date: 2025-07-22)
footnote Full support
Opera – Full support
Opera 116 (Release date: 2025-01-08)
footnote Full support
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 131 (Release date: 2024-11-12)
footnote Full support
Firefox for Android – Full support
Firefox for Android 141 (Release date: 2025-07-22)
footnote Full support
Opera Android – Full support
Opera Android 87 (Release date: 2025-01-22)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 29 (Release date: 2025-10-25)
footnote Full support
WebView Android – Full support
WebView Android 131 (Release date: 2024-11-12)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support
normal
Chrome – Full support
Chrome 131 (Release date: 2024-11-12)
footnote Full support
Edge – Full support
Edge 131 (Release date: 2024-11-14)
footnote Full support
Firefox – Full support
Firefox 141 (Release date: 2025-07-22)
footnote Full support
Opera – Full support
Opera 116 (Release date: 2025-01-08)
footnote Full support
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 131 (Release date: 2024-11-12)
footnote Full support
Firefox for Android – Full support
Firefox for Android 141 (Release date: 2025-07-22)
footnote Full support
Opera Android – Full support
Opera Android 87 (Release date: 2025-01-22)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 29 (Release date: 2025-10-25)
footnote Full support
WebView Android – Full support
WebView Android 131 (Release date: 2024-11-12)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support
text
Chrome – Full support
Chrome 131 (Release date: 2024-11-12)
footnote Full support
Edge – Full support
Edge 131 (Release date: 2024-11-14)
footnote Full support
Firefox – Full support
Firefox 141 (Release date: 2025-07-22)
footnote Full support
Opera – Full support
Opera 116 (Release date: 2025-01-08)
footnote Full support
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 131 (Release date: 2024-11-12)
footnote Full support
Firefox for Android – Full support
Firefox for Android 141 (Release date: 2025-07-22)
footnote Full support
Opera Android – Full support
Opera Android 87 (Release date: 2025-01-22)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 29 (Release date: 2025-10-25)
footnote Full support
WebView Android – Full support
WebView Android 131 (Release date: 2024-11-12)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support
unicode
Chrome – Full support
Chrome 131 (Release date: 2024-11-12)
footnote Full support
Edge – Full support
Edge 131 (Release date: 2024-11-14)
footnote Full support
Firefox – Full support
Firefox 141 (Release date: 2025-07-22)
footnote Full support
Opera – Full support
Opera 116 (Release date: 2025-01-08)
footnote Full support
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 131 (Release date: 2024-11-12)
footnote Full support
Firefox for Android – Full support
Firefox for Android 141 (Release date: 2025-07-22)
footnote Full support
Opera Android – Full support
Opera Android 87 (Release date: 2025-01-22)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 29 (Release date: 2025-10-25)
footnote Full support
WebView Android – Full support
WebView Android 131 (Release date: 2024-11-12)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
User must explicitly enable this feature.

See also