Translate
noun
say it: “trans-LAYT” /trænsˈleɪt/
Sliding an element left, right, up or down from where it normally sits, without moving anything around it. In CSS, it's the translate property or translate() inside transform.
What does translate do?
translate slides an element sideways or up and down from where it sits.
.toast { transform: translateY(100%); } /* start hidden below the screen */
In a sentence
- “I used translate to nudge the badge 8 pixels up so it sits on the card's corner.”
Level: Journeyman · More CSS terms at this level
Updated