p {
font-family: "Helvetica", "Trebuchet MS", "Verdana", sans-serif;
}Web fonts / notebook
Web fonts
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
@font-face {
font-family: "myFont";
src: url("myFont.woff2");
}html {
font-family: "myFont", "Bitstream Vera Serif", serif;
} @font-face {
font-family: "zantrokeregular";
src: url("fonts/zantroke-webfont.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
} font-family: "zantrokeregular", serif;@font-face {
font-family: "zantrokeregular";
src: url("zantroke-webfont.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}