22.01.2021, 14:58
(27.09.2018, 10:18)Trond Hoyem Wrote:(25.09.2018, 07:03)admin Wrote: This can be done via Custom CSS. Set Additional classes to rotate-30 of your element. Change degree as needed.
Add to custom CSS:
Code:.rotate-30 {
transform: rotate(30deg);
}
Is there a way to have the icon roatate according to a value? What I would like is for the icon to simulate a fan running, and that the icon rotates as the fan is running, and standing still when the fan stops.
When I create the code in CSS ho use it in object to rotate the icon?
Best regard