I have a gradient to do, with a split of 5 colors and in the interval of each one, it has to be exactly divided.
Here's what I need to do:
WhatIwasabletodowithCSS:
.area{
width: 100%;
padding: 10px 0;
position: relative;
}
.area::before {
background: linear-gradient(to right, #e1202d 0%, #ef8e3b 25%, #075f20 50%, #001a42 75%, #023e79 100%);
content: '';
position: absolute;
height: 6px;
top: 0;
width: 100%;
}
<div class="area">
Hello world
</div>