We know from that if want to apply different color properties to any single element then the last properties will be applicable like this:
color: green;
color: blue;
color: yellow;
so the color of the text will be yellow as usual. But what is the problem in my case stated below???
If I write this order the effect works properly:
border-left: 7px solid;
border-image: linear-gradient(180deg, yellowgreen, green);
border-image-slice: 1;
But If I write this order the effect doesn't work properly:
border-image-slice: 1;
border-image: linear-gradient(180deg, yellowgreen, green);
border-left: 7px solid;
or,
border-image: linear-gradient(180deg, yellowgreen, green);
border-left: 7px solid;
border-image-slice: 1;
or any other order except the first order I mentioned above.