Learn Performance - Fonts

font-display: swap

This page uses font-display: swap to instruct the browser to render the content using a fallback font until the web font has downloaded. Once the web font has downloaded, the browser will swap the fallback font with the web font, possibly causing a layout-shift.

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: swap;
}