translateY()

translateY()

The CSS translateY() function shifts an element vertically by the specified amount. Specifically, it shifts an element either up…