I'm trying to build a css framework for myself for some status boxes on my site.
I have put up an example here:
https://jsfiddle.net/ravcg28r/
background: -moz-linear-gradient( left, #aeaeae, #aeaeae 2em, transparent 2em, transparent 100% );
background: -webkit-linear-gradient( left, #aeaeae, #aeaeae 2em, transparent 2em, transparent 100% );
background: -o-linear-gradient( left, #aeaeae, #aeaeae 2em, transparent 2em, transparent 100% );
background: linear-gradient( to right, #aeaeae, #aeaeae 2em, transparent 2em, transparent 100% );
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aeaeae', endColorstr='#aeaeae',GradientType=1 );
It works really well in chrome and ff, but in IE 11 my linear gradient doesn't quite fill my span and I get an annoying little white space appearing around the border, see image and note the white space in the green box above the icon.
Does anyone know how to prevent this?