I know I can add gradient colors like this:
<div class="bg-gradient-to-t from-red-400 via-white to-red-400"></div>`
But how can I limit their height like in CSS?
{
background-image: linear-gradient(#fff 49%, #F62559 49% 51%, #fff 51%);
}
I couldn’t find anything similiar to this. Is it possible?
New contributor
Ilhomjon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.