---
title: "Favicons for the modern web"
publication: "Frontend Focus"
issue: 528
published_at: "2022-02-09"
canonical_url: "https://frontendfoc.us/issues/528"
---

Plus connecting to a database from CSS?! |            

[![\](https://res.cloudinary.com/cpress/image/upload/v1602675575/hhmdxfk96fnbq3effjk1.png)](https://frontendfoc.us/)   

Frontend Focus 

#​528 — February 9, 2022 | [Read on the web](https://frontendfoc.us/issues/528)       

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1644425740/snhc7fyfcgijgpzisjif.png)](https://aframe.io/)  

[A-Frame 1.3: A Framework for Building WebVR Experiences](https://aframe.io/) — A web framework for building virtual reality experiences that work on Vive, Rift, Quest, as well as desktop and mobile platforms, including in the browser (as the demos here show). 

A-Frame VR Team   

[iOS 15.4 Beta Suggests Apple to Support Push Notifications from Web-Based Apps](https://www.macrumors.com/2022/02/01/ios-15-4-apple-support-web-based-notifications/) — Looks like Apple is working on bringing web-based notifications to iOS — which would be a real big win for a range of web-based apps. 

Sami Fathi   [![\](https://copm.s3.amazonaws.com/a90e1d2b.png)](https://stackoverflow.blog/podcast/?utm_source=FEFocus&utm_medium=newsletter&utm_campaign=editaudio) 

[Weekly Conversations on the Art & Practice of Software](https://stackoverflow.blog/podcast/?utm_source=FEFocus&utm_medium=newsletter&utm_campaign=editaudio) — For more than 12 years, The Stack Overflow Podcast has been the destination for developers. Hosts Ben Popper, Cassidy Williams & Ceora Ford chat with incredible guests to explore what it means to work in software, and how code is reshaping our world. 

The Stack Overflow Podcast sponsor   

[How to Favicon in 2022: Six Files That Fit Most Needs](https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs) — “_It’s time to rethink [..] favicons for modern browsers and stop the icon generator madness_”. The high-level advice is this: Prefer SVG over PNG, trust browsers to downscale, drop obscure formats. A good guide to favicons for the modern web. 

Andrey Sitnik   

[“Evergreen” Does Not Mean Immediately Available](https://css-tricks.com/evergreen-does-not-mean-immediately-available/) — In an age of auto-updating everything, everywhere, there “_isn’t a single, specific device, browser, and person we cater to when creating a web experience_”. It’s worth keeping this in mind when thinking about your broader approach to the web platform. 

Eric Bailey     

**⚡️ Quick bits:** 

- If you squint a bit, you'll notice that [Chrome's icon has had a little refresh](https://gizmodo.com/google-chrome-gets-first-new-icon-eight-years-1848489310).
- [Version 8 of dev-browser Polypane is out now](https://polypane.app/blog/polypane-8-better-elements-inspector-new-syncing-features-chromium-98-and-more/) bringing a better Elements inspector, performance improvements, forced colors emulation, a new debug tool and more.
- The web platform is [introducing a canonical way to show a browser picker](https://developer.chrome.com/blog/show-picker/) for `<input>` elements like `"date"`, `"time"`, `"color"`, `"file"`, and others.
- Jen Simmons of the WebKit team is [seeking specific feedback](https://twitter.com/jensimmons/status/1491064075987873792) on any "bugs and missing features" that you've run up against in Safari.
- Did you know that [screen readers may read 'M' or 'm' as 'metre'?](https://twitter.com/joshspero/status/1489329663424008194) So `3m` for example may be read as "three metres" and not, say, "three million" as possibly intended.    

📙 **Tutorials, Articles & Opinion**  

[Reducing the Web’s Carbon Footprint: Optimizing Social Media Embeds](https://www.smashingmagazine.com/2022/02/reducing-web-carbon-footprint-optimizing-social-media-embeds/) — A look at what we can do to reduce the environmental impact of social media embeds and social sharing widgets — _plus some strategies to avoid them altogether_. These double-up as great performance tips too. 

Michelle Barker   

[Replace JavaScript Dialogs with HTML's <dialog>](https://css-tricks.com/replace-javascript-dialogs-html-dialog-element/) — How to replace JavaScript dialogs with the HTML dialog element with the same functionality as the `alert()`, `confirm()`, and `prompt()` methods. 

Mads Stoumann   

[What Web Frameworks Solve: The Vanilla Alternative](https://www.smashingmagazine.com/2022/02/web-frameworks-guide-part2/) — Suggests a few patterns of how to use the web platform _directly_ as an alternative to some of the solutions that are offered by frameworks. 

Noam Rosenthal   

[Aspect Ratio is Great](https://css-irl.info/aspect-ratio-is-great/) — `aspect-ratio` is a great example of a humble property that fills a long-awaited need in the CSS, as demonstrated here. 

Michelle Barker   

[Project Management for Software Teams Has Never Been Easier](https://shortcut.com/?utm_source=cooperFRONTEND&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=pm) — Shortcut is fast and intuitive project management built for developers. Delight the scrum gods and try it now. 

Shortcut (formerly Clubhouse.io) sponsor   [![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1644414068/rftua18elie6c5kxjkb4.png)](https://frontend.horse/articles/generative-grids/) 

[Creating Generative SVG Grids](https://frontend.horse/articles/generative-grids/) — Goes through how to create some rather colorful, generative grid designs with JavaScript and SVG, and then animate them too. The end result is pretty neat. 

Alex Trost   

[CSS Animations: A Complete Guide for Beginners](https://themeisle.com/blog/css-animations-tutorial/) — For those just getting started with CSS, this covers all the parts of the CSS animations spec with an interactive demo for each of the features. 

Louis Lazaris beginner   

[A Deep Introduction to WordPress Block Themes](https://css-tricks.com/a-deep-introduction-to-wordpress-block-themes/) — This is a high-level look at block themes and full-site editing. 

Ganesh Dahal   

[Preventing Smooth Scrolling with JavaScript](https://kilianvalkhof.com/2022/css-html/preventing-smooth-scrolling-with-javascript/) 
Kilian Valkhof   

[The CSS `from-font` Value Explained in Four Demos](https://css-tricks.com/from-font-value-text-decoration-thickness/) 
Sylvester Bistrović   

['Yes, I Can Connect to a Database in CSS'](https://www.leemeichin.com/posts/yes-i-can-connect-to-a-db-in-css.html) 
leemeichin    

Jobs  

[Frontend Developer at X-Team (Remote)](https://x-team.com/remote-frontend-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=cooperpress-frontend&utm_content=frontend) — Join the most energizing community for developers and work on long-term projects for Riot Games, FOX, Sony, Coinbase, and more. 
X-Team   

[Senior React Engineer @ Nebulab (Remote)](https://nebulab.com/careers?gh_src=3495fbf2teu) — Join our distributed team and build high-volume eCommerce applications in a workplace made by developers for developers. 
Nebulab   

[Find Frontend Engineering Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-frontendfocus%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired    

🔧 **Code, Tools & Resources** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/lshap7rotbwebvc00zjy.jpg)](https://github.com/github/hotkey)  

[Hotkey 2.0: Trigger an Action on an Element When a 'Hotkey' is Pressed](https://github.com/github/hotkey) — Use Hotkey, set the `data-hotkey` attribute on your elements, and you get keyboard shortcuts. [v2.0](https://github.com/github/hotkey/releases/tag/v2.0.0) just dropped. If it's good enough to be used on GitHub, it's good enough for us! 

GitHub   

[lite-youtube: A Web Component That Renders YouTube Embeds Faster](https://github.com/justinribeiro/lite-youtube) — It’s the Shadow DOM web component version of Paul Irish’s [lite-youtube-embed](https://github.com/paulirish/lite-youtube-embed), with keyboard accessibility and some other nice features. 

Justin Ribeiro   

[Moving Pinterest’s iOS Builds to Autoscaled EC2 Mac](https://buildkite.com/blog/moving-pinterest-s-ios-builds-to-autoscaled-ec2-mac?utm_campaign=CPress&utm_source=ppc&utm_medium=cpress&utm_term=iOS-Builds&utm_content=ec2-mac) 

Buildkite sponsor   

[DevTools for Tailwind: Bring Back Designing and Debugging in Your Browser](https://devtoolsfortailwind.com/) — Not a free tool, but possibly one you’ll want to consider if you want to be able to experiment with all Tailwind classes on a page – _not just the ones compiled during a build process_. 

beyond code   

[CodeCaptcha.io: Hide Your Web Link Behind a Mini-Coding Challenge](https://www.codecaptcha.io/) — Definitely a unique take on Captchas. Before visiting the link, the user has to solve a 1-3 line code-related task. For now, it’s JavaScript only. 

Asad Memon   

[Compress Images: A Fast Tool to Compress WEBP, JPEG, PNG, AVIF, and JXL Images Online](https://www.webutils.app/image-compress) 

WebUtils   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/b6popfciytbjfhyvhxzm.jpg)](https://fffuel.co/ssspill/)  

[ssspill: An SVG Generator for a Stylistic 'Spill'/Melted Effect](https://fffuel.co/ssspill/) 

Sébastien Noël    

📬 

**Got a new email address?** You can [change your email here](https://frontendfoc.us/edit_subscription/*|UID|*). 

--- 

**Bored of us?** Click [here to stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll take a look. 

--- 

Published by Cooper Press Ltd.
Curated by [Chris Brandrick](https://twitter.com/chrisbrandrick) & [Peter Cooper](https://twitter.com/peterc).
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*)
