📅  最后修改于: 2022-03-11 14:47:37.939000             🧑  作者: Mango
You probably have an element with margin-top as one of the first children of body.
Read up on collapsing margins.
Purely as a simple test, set padding: 1px on body. If the gap goes away, I'm right.
/*
from stackoverflow.com ->
css & html5: why does my body have a spacing at the top
*/