I need to use a linear gradient for a background but I need more options for the gradient. I need to add a few more colors.
I am trying to make a gradient like this:
Is it possible to use more than 4 colors for the gradient?
linear-gradient(to bottom, rgba(253, 223, 140, 0.4) 0, rgba(254, 245, 220, 0.4) 15%, rgba(250, 189, 20, 0.4) 50%, rgba(250, 185, 5, 0.4) 50%, rgba(165, 122, 3, 0.4) 50%, rgba(250, 185, 5, 0.4) 85%, rgba(251, 194, 40, 0.4) 100%) no-repeat;
Make Linear Gradient for background...
The control can use up to 4 color stops right now, we have plans to update it but not sure when that will happen. I will see if you can do a small update, adding 2 color stops in the meantime.
The future of web layout has arrived and it's called CSS Grid. CoffeeCup helps you to get ready with a free guide, the Grid Builder app plus cool demos & themes.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.