I am trying to change background attribute using jquery. It's something like this
$('.insta-icon').css('background' ,'-webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%)');
If I put a simple color it works fine but with above gradient properties it's not working. Can anyone help.
-webkit-radial-gradienttoradial-gradientand you are good to go