35 How would I access and change transform: translateY(0px); using the style object from JavaScript, in a similar matter to div.style.background = 50px. I’m trying to make it so a header on my webpage disappears as the user scrolls down but div.style.tranform or div.style.translate doesn’t seem to work.
https://stackoverflow.com/questions/20707991/css-tranformtranslatey-from-javascript