monks/font_synthesis_position

{{SeeCompatTable}}

The font-synthesis-position CSS property lets you specify whether or not a browser may synthesize the subscript and superscript “position” typefaces when they are missing in a font family, while using {{cssxref(“font-variant-position”)}} to set the positions.

The font-synthesis-position property has no effect when using the {{htmlelement(“sup”)}} and {{htmlelement(“sub”)}} elements.

It is often convenient to use the shorthand property {{cssxref(“font-synthesis”)}} to control all typeface synthesis values.

Values

pub const auto_: #(String, String)
  • : Indicates that a missing position typeface may be synthesized by the browser if needed.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
  • : Indicates that the synthesis of a missing position typeface by the browser is not allowed.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for font-synthesis-position

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-synthesis-position. It will be wrapped in var() and have -- prepended.

Search Document