javascript style.transform rotate and translate code example Example: js transform rotate object.style.transform="rotate(7deg)";