perspective: 2000px;
backface-visibility: hidden;
на ссылку. let scrollHeight = (scrollWrap.clientHeight * scrollVis.clientHeight / scrollVis.scrollHeight);
let scrollTop = (scrollWrap.clientHeight - 30 + scrollHeight) * scrollVis.scrollTop / scrollVis.scrollHeight;
@keyframes toRight {
from {
transform: translate3d(-300px, 0 , 0)
}
to {
transform: none;
}
}
.text {
animation: toRight 1s ease;
}