I want to make a radial gradient, but its not working, can someone tell me why?(Under the spanish description you is the code😁) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to make a radial gradient, but its not working, can someone tell me why?(Under the spanish description you is the code😁)

Estoy intentando hacer un cuadro con degrado radial en CSS, pero no me funciona. Si alguno me puede decir porque seria genial, desde ya muchas gracias. https://code.sololearn.com/WsYzHV2lwQF7/?ref=app

18th Dec 2018, 7:36 PM
Cata Echeverría
Cata Echeverría - avatar
4 Answers
+ 1
Somehow i cant run any code right now :/ But as i can see in your code are you sure its the right syntax ? https://developer.mozilla.org/en-US/docs/Web/CSS/radial-gradient Btw the moz prefix means it'll only work on mozila, you can remove the prefix that function should be compatible by current browser.
18th Dec 2018, 7:55 PM
Taste
Taste - avatar
+ 1
Did you open the link i posted ? Try this background:radial-gradient(black 20%, blue 80%);
18th Dec 2018, 8:15 PM
Taste
Taste - avatar
+ 1
Here’s a full tutorial on CSS Graidents including how to use the radial-gradient property: https://youtu.be/TYHFe4L9bfo
25th Oct 2019, 10:16 AM
Dev Dreamer - YouTube
Dev Dreamer - YouTube - avatar
0
Although now I do it with out the prefix, its not working https://code.sololearn.com/WdaGFPJKnO35/?ref=app
18th Dec 2018, 8:13 PM
Cata Echeverría
Cata Echeverría - avatar