Circular radial gradient | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Circular radial gradient

„Add a circular radial gradient to produce red and blue, with color stops accordingly at 15px and 25px“ I‘m not sure because i‘m a nooby, but is the description maybe wrong? Or did i just don‘t understand why the color stops at 25px should be written 50px in the answer? It also could be that i have to fill in the half of 50 which is 25, of course. Than i just haven’t figured out why, but than i‘m sure i will learn it soon ;-)

15th May 2019, 9:17 AM
Stefan Bartl
Stefan Bartl - avatar
2 Answers
+ 2
background: radial-gradient(circle at 50%, #f00 15px, #00f 25px);
15th May 2019, 9:33 AM
Calviղ
Calviղ - avatar
0
ty ;-)
15th May 2019, 10:29 AM
Stefan Bartl
Stefan Bartl - avatar