diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2019-02-21 10:07:50 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2019-02-21 10:23:39 +0100 |
commit | 10ca8e5756a74a948db7701e6de26e0e65352e67 (patch) | |
tree | 661990e7a4f73000f42e95fc8ffc58d51726e0b6 /font.css | |
parent | 84b1c0f57ee0cc66bb15076b54aa2e3581fc91ba (diff) | |
download | mutti-web-10ca8e5756a74a948db7701e6de26e0e65352e67.tar.gz mutti-web-10ca8e5756a74a948db7701e6de26e0e65352e67.tar.bz2 mutti-web-10ca8e5756a74a948db7701e6de26e0e65352e67.zip |
Add font-display: optional to font-face rules
To make pagespeed insights happy:
> Sie können Gebrauch von der CSS-Funktion "font-display" machen,
> um sicherzugehen, dass der Text für Nutzer sichtbar ist,
> während Webfonts geladen werden. Weitere Informationen.
Diffstat (limited to 'font.css')
-rw-r--r-- | font.css | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,6 @@ @font-face { font-family: 'Roboto'; + font-display: swap; font-style: normal; font-weight: 400; src: @@ -10,6 +11,7 @@ } @font-face { font-family: 'Roboto'; + font-display: swap; font-style: normal; font-weight: 500; src: @@ -20,6 +22,7 @@ } @font-face { font-family: 'Roboto'; + font-display: swap; font-style: normal; font-weight: 700; src: @@ -30,6 +33,7 @@ } @font-face { font-family: 'Roboto'; + font-display: swap; font-style: italic; font-weight: 400; src: |