multi colored border html code example
Example 1: vertical multi color border css
.fancy-border {
width: 150px;
height: 150px;
text-align:center;
border-top: 5px solid;
border-image: linear-gradient(to right, grey 25%, yellow 25%, yellow 50%,red 50%, red 75%, teal 75%) 5;
}
Example 2: vertical multi color border css
<div class="box">Div</div>