The html, body setting is 100%, but the true height value is not the window height.

problem description

set the height of html,body to 100%, but the final calculated value is height=222px.

how is this value calculated?

   

how is it calculated when the calculated value is height=222,?

this setting method, shouldn"t the value of height be the height of the browser window?

Mar.28,2021

is your dev_tool compressing the main window? It is true that you have compressed to the height of 222px, you can enlarge the height of the window


this is the height of the visual window, you can move your console panel up and down, the height will change.

Menu