The translateX() Method
The translateX() method moves an element from its current position:
This div element is moved 300 pixels to the right.