(1) A gradient bottom edge
border-image: -webkit-linear-gradient(right, #FF9848,#FF2A2B) 1 1;
border-image: -o-linear-gradient(right, #FF9848,#FF2A2B) 1 1;
border-image: linear-gradient(to right, #FF9848,#FF2A2B) 1 1;
border-image-slice:0 0 100% 0;//The lower border
(2) a gradient border with a picture
- border-image-source:url(../img/border_img.png);
- border-image-slice:0 0 100% 0;
- border-image-width:0.05rem;
- border-image-repeat:repeat;
- write together
border-image:url(../img/border_img.png) 0 0 100%/0.05rem 0 repeat;
6. If you want this single frame to be on the top, you can only modify it
- border-image-slice:100% 0 0 0;