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%)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b42881-41660.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b42881-41660.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?