perf: ⚡ Avoide FOIT
https://developer.chrome.com/docs/lighthouse/performance/font-display/#how-to-avoid-showing-invisible-text
This commit is contained in:
parent
baa5bb5be9
commit
c96846a5b4
|
@ -15,14 +15,17 @@
|
|||
@font-face {
|
||||
font-family: 'orbitron';
|
||||
src: url('/assets/fonts/Orbitron-SemiBold.ttf') format('truetype');
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'ubuntu';
|
||||
src: url('/assets/fonts/UbuntuMono-Regular.ttf') format('truetype');
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'dejavu';
|
||||
src: url('/assets/fonts/DejaVuSansMono.ttf') format('truetype');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Printed pages */
|
||||
|
|
Loading…
Reference in New Issue