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:
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