Borders (as far as I know) don’t take gradients as background becuase they are colors.
There is no
You can use
border-image as shown in this demo by Chris Coyier
What are you trying to do? Do you have an image of the expected result?
What element are you trying to apply this border too?