---
title: "Steps you can take to improve font performance"
publication: "Frontend Focus"
issue: 491
published_at: "2021-05-19"
canonical_url: "https://frontendfoc.us/issues/491"
---

Plus a complete guide to the frontend landscape in 2021. |            

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

Frontend Focus 

#​491 — May 19, 2021 | [Read on the web](https://frontendfoc.us/issues/491)        

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1621433967/hxtpcjtzkx7ziwsz1z7r.png)](https://iainbean.com/posts/2021/5-steps-to-faster-web-fonts/)   

[Five Steps to Faster Web Fonts](https://iainbean.com/posts/2021/5-steps-to-faster-web-fonts/) — Iain clearly outlines a handful of steps that you can take to improve font performance, each of which can have a benefit on its own, but when used together can lead to big wins. 

Iain Bean   

[Introducing Firefox’s New Site Isolation Security Architecture](https://hacks.mozilla.org/2021/05/introducing-firefox-new-site-isolation-security-architecture/) — With Site Isolation enabled on Firefox for Desktop, Mozilla takes its security guarantees to the next level. 

Mozilla Hacks   [![\](https://copm.s3.amazonaws.com/886fce18.jpg)](https://imagekit.io/blog/how-to-resize-image-in-html/?utm_source=Cooperpress&utm_medium=email&utm_campaign=Frontendfocus_Newsletter&utm_content=PrimaryLink_ImageResize_HTML) 

[[Guide\] Ultimate List of Techniques to Resize Images in HTML](https://imagekit.io/blog/how-to-resize-image-in-html/?utm_source=Cooperpress&utm_medium=email&utm_campaign=Frontendfocus_Newsletter&utm_content=PrimaryLink_ImageResize_HTML) — Learn different techniques to resize images in HTML - Check out some useful CSS properties, know when and why you should avoid browser-side resizing, and the right ways to manipulate and serve images on the web. 

ImageKit.io sponsor   

[Google Docs Shifting to Canvas Based Rendering](https://workspaceupdates.googleblog.com/2021/05/Google-Docs-Canvas-Based-Rendering-Update.html) — I think this could be a more substantial long term move than it appears at first as it’s a whole new way to approach rendering content in the browser (and one more commonly associated with games and graphics, so far). They’ve rigged up [this demo](https://docs.google.com/document/d/1N1XaAI4ZlCUHNWJBXJUBFjxSTlsD5XctCz6LB3Calcg/preview) of the approach. 

Google   

▶[Frontend Development in 2021: A Complete Guide](https://www.youtube.com/watch?v=HgJ0S_9R8ek) — A tight 20-minute look at the frontend landscape, covering the libraries and tech you’ll want to know. 

Harry Wolff   

[Learn CSS](https://web.dev/learn/css/) — A free, wide-ranging CSS course and reference from Google to help you level up your CSS / web styling expertise. Looks like a solid resource. 

Google     

**⚡️ Quick bits:** 

- Here's the [developer keynote](https://www.youtube.com/watch?v=D_mVOAXcrtc) from this year's Google I/O.
- Polypane, a browser built for web development, just hit version six. [Here's a run down of what's new](https://polypane.app/blog/polypane-6-peek-webvitals-new-simulators-chromium-91/), including a handy web vitals view.
- The 'GPU for the Web' working group [has published two working drafts](https://www.w3.org/blog/news/archives/9059), for both WebGPU and the WebGPU Shading Language.
- A reminder that AMP pages will [no longer get preferential treatment](https://plausible.io/blog/google-amp) in Google search.
- Google Reader fans take note: [Chrome is testing an RSS 'Follow' feature](https://9to5google.com/2021/05/19/chrome-follow-rss-feed/).
- If you had to be an HTML element, [which would you be, and why](https://twitter.com/burgessdryan/status/1394664083488661505)? A fun little Twitter thread.   

📙 **Tutorials, Articles & Opinion** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1621422773/tj0mp1vezkduushl2hbm.gif)](https://web.dev/building-a-media-scroller-component/)  

[Building A Media Scroller Component](https://web.dev/building-a-media-scroller-component/) — A foundational overview of how to build a responsive horizontal scrollview for TVs, phones, desktops, etc. 

Adam Argyle   

[No, Utility Classes Aren't the Same As Inline Styles](https://frontstuff.io/no-utility-classes-arent-the-same-as-inline-styles) — “_[Anyone is welcome to dislike utility classes, but comparing them to inline styles is a fallacy](https://twitter.com/frontstuff_io/status/1394274447612317697)_”. This deep dive into the specifics of utility classes will help you understand why. 

Sarah Dayan   

[Enough with The Role-Play Let's Get Back to The Basics](https://www.tpgi.com/enough-with-the-role-play-lets-get-back-to-the-basics/) — If your HTML has `role` attributes throughout, Ian says chances are there are better native elements you should use instead. 

Ian Floyd   

[Create a CSV Importer in 2 Minutes](https://srv.buysellads.com/ads/long/x/T6EMDVSTTTTTTT3FILLNTTTTTTT5MRR6KTTTTTTTEDLPCYTTTTTTTJZ4C7Y6C2Z4P7LWAN4PZQUMVSICKJCCPBSDP2PT) — Build a data parser before? We know the pain. Let Flatfile do the heavy lifting with an elegant, turnkey data parser. 

Flatfile Portal sponsor   

[Plans to Improve Navigation on GOV.UK](https://gds.blog.gov.uk/2021/05/17/our-plans-to-improve-navigation-on-gov-uk/) — With over half a million pages the UK government website poses quite the navigation challenge. Here’s some insight into how they’re thinking about improving things. 

Sam Dub   

[Distributed Persistent Rendering (DPR)](https://css-tricks.com/distributed-persistent-rendering-dpr/) — As usual, Chris does a great job of breaking down a complicated term, specifically Netlify’s recent DPR proposal, into what is practical and meaningful for developers. 

Chris Coyier   

[What Do Lighthouse Scores Look Like Across The Web?](https://www.tunetheweb.com/blog/what-do-lighthouse-scores-look-like-across-the-web/) — A solid bit of analysis, now with a refreshed set of results. 

Barry Pollard   

[Cumulative Layout Shift: Measure and Avoid Visual Instability](https://calibreapp.com/blog/cumulative-layout-shift) — Reduce frustration and content shifts by monitoring the Core Web Vital metric. 

Karolina Szczur   

[Using CSS to More Efficiently Cache User-Specific Content](https://ognjen.io/using-css-to-more-efficiently-cache-user-specific-content/) 
Ognjen Regoje   

[An Up to Date Roundup of DevTools for CSS Layouts](https://chenhuijing.com/blog/devtools-for-css-layouts-2021-edition/) 
Chen Hui Jing   

[How to Add a Double Border to SVG Shapes](https://css-tricks.com/how-to-add-a-double-border-to-svg-shapes/) 
Mariana Beldi   

[A Beginner’s Guide to Applying Color in UI Design](https://georgefrancis.dev/writing/a-beginners-guide-to-applying-color-in-ui-design/) 
George Francis   

🔧 **Code, Tools and Resources**  

[DOM Events: A Way to Visualize and Experiment with the DOM Event System](https://domevents.dev/) — A visualiser to help you learn about the DOM Event system, not always the easiest thing to fathom out, through exploration. 

Alex Reardon   

[Heroicons: Beautiful Hand-Crafted SVG Icons by The Makers of Tailwind CSS](https://heroicons.com/) — We’ve included these icons before but they now have a dedicated web space, more icons, official React and Vue libraries, and Figma assets – all outlined in the [v1.0 release post](https://blog.tailwindcss.com/heroicons-v1). 

Heroicons   

[SVG Filter Builder: Create and Learn About SVG Filters in A Drag & Drop Designer](https://svgfilters.com/) — This is a feature-rich way to mess around with the different parts of the [SVG filters spec](https://www.w3.org/TR/SVG11/filters.html). Lets you add your own graphics and grab the code output easily. 

client.IO   

[New Mobile Chat Kit From Stream](https://getstream.io/chat/ux-kit/?utm_source=frontend_focus&utm_medium=promoted_newsletter&utm_content=developer&utm_campaign=05_19_21) 

Stream sponsor   

[Coding Fantasy: Learn Flexbox by Playing a Coding Game](https://codingfantasy.com/) — Ultimately this project aims to include other frontend technologies, but currently the game teaches you Flexbox, with Grid Layout coming soon. 

nick bull   

[Dragit: An Online Drag & Drop Email Editor](https://dragit.io/) — Includes a modest free plan for building responsive emails (and the pay plan lets you embed the editor in your own product). 

FunFirst   

[A DevTools Extension for Chrome to Examine/Inspect CSS Stacking Contexts](https://github.com/andreadev-it/stacking-contexts-inspector) 
Andrea Dragotta   

[Picsvg: Convert Any Image to a Line Drawing in SVG Format](https://picsvg.com/) 
Picsvg    

Jobs  

[Web Designer (UK Remote)](https://www.helical-levity.com/web-designer) — Join the team who are changing the face of cyber security education. 
Helical Levity   

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

🧑‍💻 Got a job listing to share? _[Here's how](https://booking.cooperpress.com/jobs)_.   

😖 **...and finally** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1621422456/rdgbe00aaqnwdgjbzz2o.png)](https://termsandconditions.game/)  

[Terms & Conditions Apply: A Mini-Game About Pop-ups and The Deviousness of Websites and Apps](https://termsandconditions.game/) 

Wieden+Kennedy    

📬 

**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|*)
