How would I access and change transform: translateY(0px); using the style object from JavaScript, in a similar matter to div.style.background = 50px.>
transform: translateY(0px);
div.style.background = 50px
Alternative solution:
div.setAttribute('style','transform:translateY(10px)');