Daily Shaarli

All links of one day in a single page.

April 2, 2021

"Debug layout shifts", Katie Hempenius (@katiehempenius)
thumbnail

Layout shifts can be caused by the following events:

  • Changes to the position of a DOM element
  • Changes to the dimensions of a DOM element
  • Insertion or removal of a DOM element
  • Animations that trigger layout
"Lite YouTube Embed", Paul Irish (@PaulIrish) & contributors
thumbnail

Provide videos with a supercharged focus on visual performance. This custom element renders just like the real thing but approximately 224× faster.