Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
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