Links
Hey hey `font-display`
Y'all know about
font-display
? It's pretty great. It's a CSS property that you can use within@font-face
blocks to control how, visually, that font loads. What do you get from it? The ability to control FOUT and FOIT as is right for your project, two things that both kinda suck in regards to font loading.
preload with font-display: optional is an Anti-pattern
If you decide to use
font-display: optional
, it would be a waste of your page’s resources to also usepreload
. It won’t break anything, it’ll just trigger that web font request early (causing network congestion if you have other critical path resources that need to be fetched). An early request won’t buy you much if the web fonts aren’t going to render when they finish.
10 principles for smooth web animations
There is no silver bullet for great animations, besides spending a lot of time testing and optimizing them. However, after years of experimentation and hitting the limits of browser performance, we’ve come up with a series of design & code principles that seem to reliably result in nice animations. These techniques should get you pages that feel smooth, work in modern desktop and mobile browsers, and—most importantly—are easy to maintain.
How CSS Works: Parsing & painting CSS in the critical rendering path
Knowing which steps the browser takes to get to that ever-so-important first pixel is critical (no pun intended 😂) if you’re trying to improve your load time. Since the browser blocks rendering until it has parsed all CSS you can greatly improve your load time by removing any CSS that doesn’t apply to the first paint from your initial HTML document. Doing so greatly decreases the amount of time the browser needs to construct the CSSOM and render tree.
Feature Queries Manager: Toggle CSS styles within @supports blocks
This browser plugin will display all the feature queries on a page and any styles within those feature queries. You can view the styles related to a query, or toggle those styles on and off.
Videos
Effective design and engineering collaboration by Theresa Ma
Communication is hard. Collaboration is hard. Strong relationships between design and engineering teams are the foundation for building a strong product. This talk will cover strategies for more effective interdisciplinary communication. This is a talk for both engineers and designers, showing a little bit of each other’s world to foster empathy and understanding for the other discipline while providing practical considerations for day to day communication challenges.