DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! A comment by aditya: Is there a way to get the angle [through JavaScript] by which the element is rotated? Seems like a reasonable request. So we have some HTML: <div id="i-am-rotated">text</div> And it’s rotated through CSS: #i-am-rotated { -webkit-transform: rotate(30deg); -moz-transform: