0
which code is used to move an object?
3 Respostas
+ 1
If you want to kove an element, you can use JavaScript(DOM) or CSS(keyframes). Check the respective lessons, they are well explained(Animations in JavaScript and Keyframes in CSS).
+ 1
I mostly use CSS, add position:relative, and just move where ever you want with left,right, top or bottom with px
0
Hello... you can use position property to move the object. There are different option which you can use to serve your purpose. You can follow the below link to understand all the positioning attributes.
https://www.w3schools.com/cssref/pr_class_position.asp