snipt

Ctrl+h for KB shortcuts

CSS

Better Image Scaling and Resampling in Internet Explorer

1
2
3
4
5
6
/*
 * http://acidmartin.wordpress.com/2009/01/05/better-image-scaling-and-resampling-in-internet-explorer/
 */
img {
	-ms-interpolation-mode: bicubic;
}
https://snipt.net/embed/e33d3749908218607309b6f6fdb2fa6d/
/raw/e33d3749908218607309b6f6fdb2fa6d/
e33d3749908218607309b6f6fdb2fa6d
css
CSS
6
2019-08-26T03:12:44
True
False
False
/api/public/snipt/1780/
better-image-scaling-and-resampling-in-internet-explorer
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c">/*</span> </span><span id="L-2"><a name="L-2"></a><span class="c"> * http://acidmartin.wordpress.com/2009/01/05/better-image-scaling-and-resampling-in-internet-explorer/</span> </span><span id="L-3"><a name="L-3"></a><span class="c"> */</span> </span><span id="L-4"><a name="L-4"></a><span class="nt">img</span> <span class="p">{</span> </span><span id="L-5"><a name="L-5"></a> <span class="o">-</span><span class="n">ms</span><span class="o">-</span><span class="n">interpolation</span><span class="o">-</span><span class="n">mode</span><span class="o">:</span> <span class="n">bicubic</span><span class="p">;</span> </span><span id="L-6"><a name="L-6"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
css, ie, image