I have successfully implemented gradient colors using the following code:
<div class="bg-gradient-to-t from-red-400 via-white to-red-400"></div>`
Now, I am unsure how to limit the height of these gradients in CSS. Is there a way to achieve this?
{
background-image: linear-gradient(#fff 49%, #F62559 49% 51%, #fff 51%);
}
I have searched for solutions but haven't found anything similar. Could it be done somehow?