monks/font_feature_settings

The font-feature-settings CSS property controls advanced typographic features in OpenType fonts.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : Indicates that text is laid out using default font settings. This is the default value.
pub const off: #(String, String)

off value of font-feature-settings

pub const on: #(String, String)

on value of font-feature-settings

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for font-feature-settings

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document