4 ms·
That would be: @font-face { font-family: 'foo'; src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAGy …) }
by 9dev 2y ago
That would be:
@font-face {
font-family: 'foo';
src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAGy …)
}
- jfk13 2y agoA minor detail, but the MIME type should be `font/woff` (or `font/woff2` if appropriate), not the nonstandard `application/x-...`. (E.g. see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_...)