From 3d2fbc27b45f7ad2f80743d496a87b968cfa538f Mon Sep 17 00:00:00 2001 From: joostf Date: Fri, 21 Nov 2025 23:04:36 +0100 Subject: [PATCH] Better font face convention --- docs/conventies.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/conventies.md b/docs/conventies.md index 4d649a9..4598fd6 100644 --- a/docs/conventies.md +++ b/docs/conventies.md @@ -215,12 +215,9 @@ Always provide sufficient fallbacks when using `@font-face` (web fonts). ```css @font-face { font-family: 'MyWebFont'; - src: url('webfont.eot'); /* IE9 Compat Modes */ - src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('webfont.woff2') format('woff2'), /* Super Modern Browsers */ - url('webfont.woff') format('woff'), /* Pretty Modern Browsers */ - url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ - url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ + src: url('webfont.woff2') format('woff2'), + url('webfont.woff') format('woff'); + font-display: swap; } body {