Translate property in css detailed information | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Translate property in css detailed information

5th Jul 2023, 5:55 AM
💙♥🄻🄸🄽🄶🄾🄴🅇🄿🄻🄾🅁🄴🅁🅂💙♥
2 Answers
+ 1
Translate is the absolute position of an element. You want to center something on the middle of the page you use translate 50% to the left and -50% from the top.
5th Jul 2023, 7:54 AM
Alain Puron
+ 3
It is called "documentation" and can be found on the Internet: https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate
5th Jul 2023, 7:45 AM
Lisa
Lisa - avatar