tomayac’s avatartomayac’s Twitter Archive—№ 11,850

  1. …in reply to @simevidas
    @simevidas No need to use hidden. Just translateX -100vw (so it’s out of the viewport). Also, never animate left (no hardware acceleration: html5rocks.com/en/tutorials/speed/high-performance-animations/): element { transform: translateX(-100vw); transition: transform 500ms; } .no-hide { transform: translateX(0); }