After css3 transform transformation, the original position still occupies space.

1. Previously, I used scrolltop to change the positioning elements of the page, but found that the low-end Android phone stuttered. Both raf and GPU have no solution.

2. After that, you choose to use transform:translateY () to change the position, but it will cause the position of the element to be occupied and blank. Is there any solution that does not show the blank element? And after using translateY, some elements are transformed out and can"t be seen at all.

Mar.05,2021

that's because transform doesn't take the element out of the standard stream;
solution:
consider de-listing in combination with position:absolute after writing the transform attribute

.
Menu