19.03.2024, 12:23
(This post was last modified: 19.03.2024, 12:25 by manos@dynamitec.)
(09.04.2022, 08:15)khalil Wrote: Hello
Could we make the degree variable from the name Like: Rotate-xx
where xx is the degree we wants
Hello admin,
Can we just implement this function for 0-360° and assign name in additional classes?
something like a for i=0 to 360 do......
Code:
.rotate-i {
transform: rotate(-ideg) !important;
}
If then we add additional classes: rotate-1 or 2 or 3 the icon rotates to the correct angle.