How to rotate an object clockwise (without canvas, css3, etc.)?
See my sample code
Just help me fix my formula.
You cannot do this without CSS, but your sample code uses CSS to translate: you change the CSS properties using JavaScript to change the style properties of the div.
Try something like:
div.style['-webkit-transform'] = 'rotate(' + angle + 'deg)';
To set the angle, suppose you are working with a Webkit browser.
There are two ways you can rotate your object, both have their back spins.
1) php . GD.
, , rotate.php? image = my_image_name & angle = 30, .
, .
2) . .
, . , 5 , 72 .
, div. divs ofcourse.
Source: https://habr.com/ru/post/1778384/More articles:How to remove regex dollar format - coldfusionHow can I check the F # / Silverlight field with the following code? - validationVB.NET regular expressions matching escape characters - regexInvalidOperationException in VS2010 - wpfFormatting for crash exit BOOST_CHECK_CLOSE? - c ++Удалить все формы слоя чертежа Excel, соответствующие шаблону - excel-vbaCannot return null with conditional (? :) operator - c # -4.0Choosing a data warehouse ID in Google App Engine? - pythonbackup windows - c ++transition animation background color - windows-phone-7All Articles