when page open go to specific offset page code example
Example 1: offset anchor tag when scrolling
a.anchor {
display: block;
position: relative;
top: -250px;
visibility: hidden;
}
Example 2: offset anchor tag when scrolling
<a class="anchor" id="top"></a>