There is such an option: example It works exactly in IE 10+ and the latest versions of Firefox / Opera / Chrome
<div id="mask"></div>
#mask { background: url(demo.png) no-repeat 0 0 transparent; height: 37px; overflow: hidden; position: relative; width: 95px; } #mask::after { background: transparent; background: -moz-linear-gradient(top, rgba(255, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 0, 0, 0.8)), color-stop(100%, rgba(0, 0, 0, 0.1))); background: -webkit-linear-gradient(top, rgba(255, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%); background: -o-linear-gradient(top, rgba(255, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%); background: -ms-linear-gradient(top, rgba(255, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%); background: linear-gradient(to bottom, rgba(255, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%); content: ""; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
