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