Skip to content

Commit

Permalink
font preload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomycj committed Feb 9, 2024
1 parent d991310 commit 5401338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <!--Fuerza a re-cargar el cache-->
<link rel="icon" href="./images/logoBLR.png" type="image/icon type">
<link rel="stylesheet" href="./styles/Index.css">
<link rel="preload" href="./fonts/Inter.var.woff2" as="font" type="font/woff2" crossorigin>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion styles/Index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-display: swap;
font-display: block;
src: url("../fonts/Inter.var.woff2") format("woff2");
}
:root {
Expand Down

0 comments on commit 5401338

Please sign in to comment.