How do i use the "move" in css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do i use the "move" in css?

I dont know if i saw it in css fundamentals or its just not in there

6th Jul 2020, 3:09 AM
ItzMarioPlayzGD
ItzMarioPlayzGD - avatar
2 Answers
+ 16
You can "move" elements using "transform: translate" or absolute position. div {   transform: translate(50px, 100px); } https://www.w3schools.com/css/css3_2dtransforms.asp div {   position: absolute;   top: 50px;   right: 100px; } https://www.w3schools.com/css/css_positioning.asp
6th Jul 2020, 6:08 AM
Igor Makarsky
Igor Makarsky - avatar
+ 2
Thank you Igor Makarsky
6th Jul 2020, 8:51 AM
ItzMarioPlayzGD
ItzMarioPlayzGD - avatar