css set font family google fonts code example
Example 1: use google fonts in css
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
Example 2: font-display css google fonts
@font-face {
font-family: "Open Sans Regular";
src: url("...");
font-display: swap;
}