Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 1|回復: 0

The impact component measures the normal space

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 12:53:02 | 顯示全部樓層 |閱讀模式
For a good experience, users should be able to interact with the page within 100 milliseconds. Cumulative Layout Shift (CLS) Core Web Vitals: Cumulative Layout ShiftCore Web Vitals: Cumulative Layout Shift Cumulative Layout Shift measures the movement of visible elements and layout changes that arrive suddenly and occur during the entire duration of the page visit causing a shift after loading the site area due to resizing, with a rather bothersome. The calculation of the CLS is rather complicated and is expressed as the product of two values, the impact component and the distance component using this formula:

punteggio layout shift = componente impatto * componente distanza  occupied by an element in the window and the space it occupies after its movement . The union of the visible area of ​​the element before and after the movement determines the percentage of the total view Canada WhatsApp Number Data  and therefore its impact component. The distance component is the greatest distance an unstable element has covered in the box while moving (horizontally or vertically) divided by the largest size of the box (width or height, whichever is greater) and is always measured in percentage. The CLS is therefore the product of these two components and for a good UX it should be less than 0.1. Example of Cumulative Layout ShiftExample of Cumulative Layout Shift.




The image above shows a block of text - which takes up half the visible part of the screen - moving down 25% of the window height. The red rectangle indicates the union of the visible area of ​​the element before and after the move, i.e. 50% + 25% = 75% of the window, so the impact component is 0.75. And since the unstable element has moved 25% of the height of the window, the value of the distance component is 0.25.


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|z

GMT+8, 10:48 , Processed in 0.032178 second(s), 18 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |