I have a simple div with a transform-origin set to 0 0 via CSS and i'm trying to console.log() the div.style.transformOrigin but I get nothing, not even an error... What am I doing wrong ?
In here link it says "Return the transformOrigin property: object.style.transformOrigin".
That's what I'm trying to do...
let div_1 = document.querySelector('#div1');
console.log('the transform origin is : ', div_1.style.transformOrigin);
transform-origin: 0 0;