Get the latest tech news

SVG favicons in action


Ever heard of favicons made with SVG? If you are a regular reader of CSS-Tricks, you probably have. But does your website actually use one?

That is a lot of code.To understand how we can deal with an SVG favicon quickly and easily, we first need to define what we want to achieve. The technique we covered above calls for creativity: replace a color, invert them all (which we’ll get to), change a shape… But the setup for a favicon is not the right time for this. Notice that even the colors change slightly to account for the darker background.Therefore, whether we prepare a favicon manually or with a tool, we automatically pick the light-compatible logo and start with that.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of action

action

Photo of SVG Favicons

SVG Favicons

Related news:

News photo

News Weekly: Wear OS 6 in action, Garmin finally gets Google Health Connect, Galaxy Watch 8 Classic leaks, and more

News photo

Apple says it won’t ‘take action’ on Fortnite return to the App Store yet

News photo

Once ‘dead’ thrusters on the farthest spacecraft from Earth are in action again