1
I have a gradient to make, with a 5-color split and in the range of each, it has to be exactly divided.
Follow image of what I need to do:
What I managed to do with CSS:
.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>
The question is, how do I shoot this gradient in the color division and leave exactly as in the image?