monks/font_variant_emoji

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.

Values

pub const emoji: #(String, String)
  • : Renders the emoji as if it were using the unicode emoji variation selector (U+FE0F).
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : Allows a browser to choose how to display the emoji. This often follows the operating system setting.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for font-variant-emoji

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const text: #(String, String)
  • : Renders the emoji as if it were using the unicode text variation selector (U+FE0E).
pub const unicode: #(String, String)
  • : 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.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for font-variant-emoji. It will be wrapped in var() and have -- prepended.

Search Document