Solve the problem that the style of the safari browser is blocked when the address bar and toolbar appear

When using the safari browser on ios, sometimes it is found that the style is normal when the upper and lower address bar and toolbar do not appear, but when the address bar and toolbar appear, some elements will be obscured by the toolbar, and some elements will be upward by the toolbar. Top, the difference is that fixed positioning will adapt to the appearance of the address bar and toolbar, while absolute positioning will not.

Guess you like

Origin blog.csdn.net/dhw276/article/details/113133387