0
I’m inserting some images with transparent background in an html page using the background-size feature of css, in IE these images are getting the serrated edges, how can I get around this problem?
<a href="#" class="iobOCF"></a>
.iobOCF{
background:#6639b7 url(../content/images/iobOCF.gif) no-repeat center center;
background-size:75%;
}
I tried, it didn’t work.
– Munir Baarini
You kept the
aspect-ratioof the pictures? Sometimes what can happen is the browser renderer increases your image so that it fits in the right place and this can cause pixelation.– Lucas Henrique
how I maintain Aspect-ratio?
– Munir Baarini