All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

CSS translate() Function: Shifting Elements on a 2D Plane

By

Geoff Graham

10d ago· 4 min readen

Summary

A technical reference article explaining the CSS translate() function, which shifts an element from its default position on a two-dimensional plane. The article covers the function's syntax, usage within the transform property, and provides examples of horizontal and vertical repositioning using length and percentage values.

Source

CSS-TricksCSS translate() Function: Shifting Elements on a 2D Planecss-tricks.com

Key quotes

· 3 pulled
The CSS translate() function shifts an element from its default position on a two-dimensional plane.
Along with other transform functions, it is used inside the transform property.
The translate() function is defined in the CSS Transforms Module Level 1 draft.
Snippet from the RSS feed
The CSS translate() function shifts an element from its default position on a 2-dimensional plane

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.