I tried making a gradient with a lot of colors but the gradient doesn't comes up smooth as it should be here's the screenshot ...messed up gradient
Asked
Active
Viewed 275 times
2 Answers
0
try setting the background-size: cover; background- repeat: no repeat;
It also depends on the div or element you're trying to style. need more info n to add your code

Ramzi Osta
- 63
- 6
0
I'm using this method the most to create a gradient:
background-image: linear-gradient(to right, #a1a1a1, #2200ff);
It could also help to set background-repeat: none;
or background-size: cover;
.

JulianX
- 57
- 2