Add a circular radial gradient to produce red and blue, with color-stops accordingly at 15 pixels and 25 pixels. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Add a circular radial gradient to produce red and blue, with color-stops accordingly at 15 pixels and 25 pixels.

background: ---------- - ------- (50px ------ px, red ----- px, blue 25px);

11th Feb 2021, 4:53 AM
Lokman punmagar
Lokman punmagar - avatar
2 Answers
+ 2
Background radial-gradient (50px 50px, red 15px, blue 25px);
14th Jun 2021, 9:09 PM
George Riley
George Riley - avatar
0
-what language are you using, and what do you need this to output to? -so, let me try to clarify. you want a red circle at the center, which then gradiates outward to blue, and then the blue ring extends outward indefinitely (a function is returning color values based on position)?
15th Feb 2021, 6:30 PM
Wilbur Jaywright
Wilbur Jaywright - avatar