Instead of square I want it around the image
So I am wanting to change my red circular border into an image. however it keeps coming out as a square or rectangle.
I have managed to find this jsfiddle and amended it to show what is going wrong
.line {
z-index: 10;
border: 12px solid #FF0000;
/*border-image: url('https://i.pinimg.com/originals/3c/bf/5e/3cbf5eabbde02cad7a36c47d408b5e58.jpg') 360 round;*/
border-radius: 50%;
}
I am hoping to get the border image to wrap around the inner circular image instead i get either pillars or a square/rectangle.
EDIT: the proposed duplicate primarily focuses on adding a gradient within the border. I am simply wanting to overlay my imge url ontop of the border.