I'd like to make border-top css rule for element with gradient from top to bottom. I'm using this code:
border-top: 15px solid transparent; border-image: linear-gradient(to top, #0a2028, #104359) 1;
or this:
border-image: linear-gradient(180deg, #0a2028, #104359) 1;
but this wont work.
I want to achieve something like using by this one:
background: linear-gradient(180deg, #225763, #062532);