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