MDN self-hosted library · e01.org

`font-family` CSS at-rule descriptor

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
/* <string> values */
font-family: "font family";
font-family: "another font family";

/* <custom-ident> value */
font-family: example-font;
css
@font-face {
  font-family: "Some font family";
  src: url("some_font_name.ttf");
}