If you think of a compass how it rotates based on direction (ex. 270 degrees) is there any way that we can rotate an icon based on a number (formatted as degrees) with “0” being the top of the page?
Could you setup a condition on the image/icon using the rotation angle property?
I think rotation angle is only available for the image element, which you could make work for this too if you just use an image instead of an icon. The “rotate” for icon just makes it spin.
Good point it’s only in image.
So that’s at least an option to make it work - convert your icons to images that can be rotated.
This topic was automatically closed after 70 days. New replies are no longer allowed.