0

Why radial gradient not work ?!

in first code must the color go from light to dark but it is not work When click in circle the color change to dark directly https://code.sololearn.com/WAb9S7EP1oTJ/?ref=app https://code.sololearn.com/WfMXi2SXTHuV/?ref=app

2nd Jul 2019, 5:58 AM
Ayah K Alrifai
Ayah K Alrifai - avatar
5 Antworten
+ 1
hmm..i don't think gradient color change works with css..not sure if it was ever implemented gradient transitions only work with hacks likeyou had to use an opacity over lay which slowly revealed the darker color. im not sure of any new css that can do gradient fades..someone else might here is your code working fine with solid color https://code.sololearn.com/Wz6FLU8bQYjO/?ref=app
2nd Jul 2019, 7:00 AM
Jason Kennedy
+ 1
tried that calvin..no work..would have to use before::after opacity i think https://code.sololearn.com/WVI8Vu5whYJW/?ref=app
2nd Jul 2019, 7:28 AM
Jason Kennedy
0
the second you forgot to but hover
2nd Jul 2019, 6:02 AM
Jason Kennedy
0
Jason Kennedy in first code must the color go from light to dark but it is not work When click in circle the color change to dark directly
2nd Jul 2019, 6:09 AM
Ayah K Alrifai
Ayah K Alrifai - avatar
0
Ayah K Alrifai you should put all the radial colors in one background selector
2nd Jul 2019, 7:17 AM
Calviղ
Calviղ - avatar