CSS Property:
transform:
translate(10px)
translate(20px)
translate(20px,10px)
translate(20px,20px)
translate(50px,50px)
translate(100px,100px)
translate(-25px,-25px)
none
Result:
myDIV
CSS Code:
#myDIV {
background-color:lightblue;
transform:
translate(10px)
;
}
Click the property values above to see the result
W3Schools.com
- Play it