Debugging Layout Shifts

Over at web.dev, Katie Hempenius learns us how to identify and fix layout shifts using the Layout Instability API and the DevTools. Using the Rendering Panel in DevTools, you can enable an option to highlight areas of Layout Shift: To enable Layout Shift Regions in DevTools, go to Settings → More Tools → Rendering → …


This content originally appeared on Bram.us and was authored by Bramus!

Over at web.dev, Katie Hempenius learns us how to identify and fix layout shifts using the Layout Instability API and the DevTools.

Using the Rendering Panel in DevTools, you can enable an option to highlight areas of Layout Shift:

To enable Layout Shift Regions in DevTools, go to Settings → More Tools → Rendering → Layout Shift Regions then refresh the page that you wish to debug. Areas of layout shift will be briefly highlighted in purple.

Debugging layout shifts →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-03-16T22:20:05+00:00) Debugging Layout Shifts. Retrieved from https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/

MLA
" » Debugging Layout Shifts." Bramus! | Sciencx - Tuesday March 16, 2021, https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/
HARVARD
Bramus! | Sciencx Tuesday March 16, 2021 » Debugging Layout Shifts., viewed ,<https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/>
VANCOUVER
Bramus! | Sciencx - » Debugging Layout Shifts. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/
CHICAGO
" » Debugging Layout Shifts." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/
IEEE
" » Debugging Layout Shifts." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/. [Accessed: ]
rf:citation
» Debugging Layout Shifts | Bramus! | Sciencx | https://www.scien.cx/2021/03/16/debugging-layout-shifts-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.