snipt

Ctrl+h for KB shortcuts

CSS

fixing ie png alpha issue

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/path/to/image.png', sizingMethod='image');
https://snipt.net/embed/9fc8c1b68d88b9a350fa1f58694edb3d/
/raw/9fc8c1b68d88b9a350fa1f58694edb3d/
9fc8c1b68d88b9a350fa1f58694edb3d
css
CSS
1
2019-06-14T14:26:41
True
False
False
/api/public/snipt/6883/
fixing-ie-png-alpha-issue
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nt">filter</span><span class="nd">:progid:DXImageTransform</span><span class="nc">.Microsoft.AlphaImageLoader</span><span class="o">(</span><span class="nt">src</span><span class="o">=</span><span class="s1">&#39;/path/to/image.png&#39;</span><span class="o">,</span> <span class="nt">sizingMethod</span><span class="o">=</span><span class="s1">&#39;image&#39;</span><span class="o">);</span> </span></pre></div> </td></tr></table>
alpha, ie, ie6, png