Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

multiple transform properties javascript

// To use multiple transform properties for one element, you have to add += to your next line.

document.getElementById("myId").style.transform = "rotateX(" + x + "deg)";
document.getElementById("myId").style.transform += "rotateY(" + y + "deg)";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #transform #properties #javascript
ADD COMMENT
Topic
Name
3+6 =