There is a deviation in mobile position positioning under different devices.

demand:

clipboard.png
is marked in red as a warning prompt. This warning is added with the I tag, so it will occupy a place on the page, so I used it: positiopn:absolute,
when I switch different devices, the rightvalue is basically the same position with no great deviation, but the warning prompt has a significant deviation in the value of top or bottom.
the method used:
has tried to change the unit of top,bottom to px,%,. However, there is still some deviation in rem, and it is quite distressing that we have not found the correct solution on Baidu

.

does anyone know how to solve it? thank you

Apr.15,2021

use the central layout of flex to take a look at
his parent element setting

display:flex;
align-items: center;

top: 50%,
transform: translateY (- 50%)

Menu