var screenHeightNew = window.innerHeight/2+"px";
var screenWidthNew = window.innerWidth/2+"px";
console.log(screenHeight);
console.log(screenWidth);
$(".active").prev().css("transform-origin","screenWidthNew screenWidthNew");
I want to use jquery to set the specific value of $(".active"). Prev () "s transform-origin). Now both screenHeightNew and screenWidthNew have got the specific value, but set $dynamically (".active"). Prev (). Css ("transform-origin", "?"); how should it be written in it