Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 29, 2016 10:25 am GMT

Ways To Reduce Content Shifting On Page Load


Have you ever opened a website, started reading and, after some time had passed and all assets had finished loading, you found that youve lost your scroll position? I undergo this every day, especially when surfing on my mobile device on a slow connection — a frustrating and distracting experience.

Ways To Reduce Content Shifting On Page Load

Every time the browser has to recalculate the positions and geometries of elements in the document, a reflow happens. This happens when new DOM elements are added to the page, images load or dimensions of elements change. In this article, we will share techniques to minimize this content shifting.

The post Ways To Reduce Content Shifting On Page Load appeared first on Smashing Magazine.


Original Link: https://www.smashingmagazine.com/2016/08/ways-to-reduce-content-shifting-on-page-load/

Share this article:    Share on Facebook
View Full Article

Smashing Magazine

Smashing Magazine delivers useful and innovative information to Web designers and developers.

More About this Source Visit Smashing Magazine