javascript how to make an css object rotate code example Example: js transform rotate object.style.transform="rotate(7deg)";