border multi color css 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="test"></div>
Example 3: vertical multi color border css
<div class="fancy-border">
my content
</div>