Chrome now supports SVG favicons! https://chromium-review.googlesource.com/c/chromium/src/+/1541185 …
Pro tip: you don’t need any HTML to declare a favicon. Host your SVG file at /favicon.ico and serve it with the correct MIME type (image/svg+xml). https://mathiasbynens.be/notes/rel-shortcut-icon … 
-
-
Test case: https://numerous-sulfur.glitch.me The media query is ignored.
@jaffathecake had an interesting write-up on how media queries behave in SVG across browsers: https://jakearchibald.com/2016/svg-media-queries/ … This behavior seems to follow from that. -
Actually,
@tomayac found that the media query *does* work based on the operating system-level preference. Emulating the media query with DevTools doesn’t yet affect this new scenario, though (which is what I was hitting).https://twitter.com/tomayac/status/1197067213926227968 …
- Još 1 odgovor
Novi razgovor -
-
-




big if true -
At least adding a `media` attribute to the icon link doesn’t work yet: https://bugs.chromium.org/p/chromium/issues/detail?id=970159 ….
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
(Test it with the last Chromium build: