What is difference between linear and radial gradient? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is difference between linear and radial gradient?

12th Jan 2016, 6:05 PM
Dvss Ajay
3 Answers
+ 4
a linear gradient is a straight progression and a radial gradient is a circular progression. Linear Gradient Example: https://qph.is.quoracdn.net/main-qimg-aca452d76b6e833cccacea8d3294686d?convert_to_webp=true Radial Gradient Example: https://qph.is.quoracdn.net/main-qimg-0302968ef25ba643c1a251d264cebee4?convert_to_webp=true
12th Feb 2016, 2:57 PM
Mohamed Abd alaziz
Mohamed Abd alaziz - avatar
+ 1
A linear gradient is horizontal, i.e the gradient colors appears as one on top of the other but for the radial, it takes a shape of either an oval or circle.
21st Jun 2016, 8:47 AM
David W
David W - avatar
+ 1
A linear gradient progress in linear way,whereas radial gradient propagate either in a circle or ecliptic way.
13th Aug 2016, 2:39 PM
vinay