I refer this code CSS Border Image Gradient Not Working in Safari 10 But I want to use two color combination for the bottom border. For that, I modified it as below.
Below code working in Mac- Safari:: 9.1.2, 10.0 Mac- Chrome:: 60, Windows- Mozilla 56. Windows- Edge.
.bluegray-line {
border-top: 0px;
border-right: 0px;
border-left: 0px;
border-bottom: 1px;
border-bottom-style: solid;
line-height: 1;
padding-bottom: 7px;
border-image: linear-gradient(to right, #00a9ce 38%, rgba(147, 148, 148, 0.39) 10%) 5;
-moz-border-image: -moz-linear-gradient(to right, #00a9ce 38%, rgba(147, 148, 148, 0.39) 10%) 5;
-webkit-border-image: -webkit-linear-gradient(to right, #00a9ce 38%, rgba(147, 148, 148, 0.39) 10%) 5;
-o-border-image: -o-linear-gradient(to right, #00a9ce 38%, rgba(147, 148, 148, 0.39) 10%) 5;
-ms-border-image: -ms-linear-gradient(to right, #00a9ce 38%, rgba(147, 148, 148, 0.39) 10%) 5;
}
But it's not working properly in Safari 5.1.7
.bluegray-bottom {
border-top: 0px;
border-right: 0px;
border-left: 0px;
border-bottom: 1px;
border-bottom-style: solid;
line-height: 1;
padding-bottom: 7px;
border-image: linear-gradient(to right, #002159 25%, #939494 15%) 5;
-moz-border-image: -moz-linear-gradient(to right, #002159 25%, #939494 15%) 5;
-webkit-border-image: -webkit-linear-gradient(to right, #002159 25%, #939494 15%) 5;
-o-border-image: -o-linear-gradient(to right, #002159 25%, #939494 15%) 5;
-ms-border-image: -ms-linear-gradient(to right, #002159 25%, #939494 15%) 5;
}
<div class="bluegray-bottom">LOG IN</div>
When i write ("right") instead of ("to right"). that time it works properly for Safari 5.1.7, But it does not work for another browser.