Answer the question
In order to leave comments, you need to log in
How to reduce the edge colors of a gradient?
Greetings!
There is a gradient
background: linear-gradient(90deg, #333, #f00, #333);
Answer the question
In order to leave comments, you need to log in
You can specify a specific color position by percentages
background: linear-gradient(90deg, #333 0%, #f00 20%, #f00 80%, #333 100%);
background: linear-gradient(90deg, #333, #f00, #f00, #f00, #333);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question