Learn Performance - Fonts

font-display: optional

This page uses font-display: optional to instruct the browser to render using the web font if it is available. If it is not available, the browser will use the fallback font.

Using font-display: optional means that the web font will not be used if it arrives late.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ac orci dictum, dictum augue nec, semper sapien. Etiam efficitur a nisl sed semper. Nam et venenatis risus, eget consequat odio. Praesent at purus ligula. Pellentesque tincidunt lorem at augue mattis blandit. Cras at ipsum augue. Duis vestibulum, ex eu commodo tristique, sem dui cursus lorem, quis sollicitudin leo sem et dui. Integer nec pellentesque nisi. Aliquam fringilla quam neque, eget volutpat nisi pharetra ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

View Source Code
@font-face {
  font-family: "Dancing Script";
  src: url("/DancingScript-Regular.woff2?v=1676325285146");
  font-display: optional;
}