0

Rotate

I want the conjc gradient to rotate not to move. I looked it up and it said i have to make display: inline-block but that didnt work either https://code.sololearn.com/WQN7xP2awCA4/?ref=app

27th May 2022, 9:47 PM
Junior
Junior - avatar
7 Respostas
+ 1
Put the button inside of the background class div Not to rotate the background, use @property to animate the conic-gradient variable. https://code.sololearn.com/WCkdCcIAFoo2/?ref=app Note that currently @property only work on Chrome and Edge browsers.
28th May 2022, 3:16 AM
Calviղ
Calviղ - avatar
0
I'm not sure this is what you're looking for, but try this: @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(359deg); } } https://techstacker.com/how-to-rotate-images-continuously-with-css-animations/
27th May 2022, 10:26 PM
Simon Sauter
Simon Sauter - avatar
0
heres an example of what i want it to be: https://code.sololearn.com/WDt6vK2R3sad/?ref=app
27th May 2022, 10:49 PM
Junior
Junior - avatar
0
Okay, lemme see if I got this. @property custom_name { syntax (eg: color;) inherit (false,true) value from syntax (inital-value: brown) } By the way, how much syntax is there in @property because i tried using rotate on the syntax but that didnt work? Can this be used on font-awesome
28th May 2022, 3:48 PM
Junior
Junior - avatar
29th May 2022, 4:53 PM
Junior
Junior - avatar
0
nvm
29th May 2022, 7:35 PM
Junior
Junior - avatar
0
Your Mom I'm sorry, I don't really get you, how would you use @property to change font-awesome, and what do you mean by "using rotate on the syntax"?
30th May 2022, 8:57 AM
Calviղ
Calviղ - avatar