how to apply linear gradient o border code example
Example 1: css gradient border
box-sizing: content-box;
border-width: 8px;
border-style: solid;
border-image: linear-gradient(to right bottom, #260B3C, #a053df);
border-image-slice: 1;
Example 2: rounded gradient border css
div{
width: 300px;
height: 80px;
border: double 5px transparent;
border-radius: 30px;
background-image: linear-gradient(white, white),
linear-gradient(to right, green, gold);
background-origin: border-box;
background-clip: content-box, border-box;
}