CSS-Tricks Follow translateX() The translateX() function shifts an element horizontally by the specified amount. translateX() originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well. https://css-tricks.com/almanac/functions/t/translatex/ css-tricks.com