Transform

Translate

Utilities for translating elements with transform.

Basic usage

Translating an element

Use the translate-x-{amount} and translate-y-{amount} utilities to translate an element.

translate-y-6

-translate-y-6

translate-x-6

<img className="**translate-y-6** ...">
<img className="**-translate-y-6** ...">
<img className="**translate-x-6** ...">