snipt

Ctrl+h for KB shortcuts

CSS

smooth scaling in ie

    img { -ms-interpolation-mode:bicubic; }
https://snipt.net/embed/b03d86d7198ac9f9e1fd576a04684075/
/raw/b03d86d7198ac9f9e1fd576a04684075/
b03d86d7198ac9f9e1fd576a04684075
css
CSS
1
2019-08-13T09:13:50
True
False
False
/api/public/snipt/1401/
smooth-scaling-in-ie
<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">img</span> <span class="p">{</span> <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 class="p">}</span> </span></pre></div> </td></tr></table>
css

CSS

fix css floats

1
2
3
.limpia{
   clear: both;
}
https://snipt.net/embed/e9b074747d93fb5d1e974f4101fc0ad3/
/raw/e9b074747d93fb5d1e974f4101fc0ad3/
e9b074747d93fb5d1e974f4101fc0ad3
css
CSS
3
2019-07-16T01:24:20
True
False
False
/api/public/snipt/1295/
fix-css-floats
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nc">.limpia</span><span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="nb">clear</span><span class="o">:</span> <span class="nb">both</span><span class="p">;</span> </span><span id="L-3"><a name="L-3"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
css

CSS

Poner letras capitales al principio del texto

1
2
3
.bigletter {color:#333;display:inline;float:left;font:3.6em Georgia,arial;text-transform:uppercase;margin:0.07em 0.14em 0 0;}

<span class="bigletter">L</span>orem ipsum dolor sit...
https://snipt.net/embed/37f2773c9962ec928315c52c65cce8ae/
/raw/37f2773c9962ec928315c52c65cce8ae/
37f2773c9962ec928315c52c65cce8ae
css
CSS
3
2019-08-14T12:32:45
True
False
False
/api/public/snipt/1259/
poner-letras-capitales-al-principio-del-texto
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nc">.bigletter</span> <span class="p">{</span><span class="nb">color</span><span class="o">:</span><span class="m">#333</span><span class="p">;</span><span class="nb">display</span><span class="o">:</span><span class="nb">inline</span><span class="p">;</span><span class="nb">float</span><span class="o">:</span><span class="nb">left</span><span class="p">;</span><span class="nb">font</span><span class="o">:</span><span class="m">3.6em</span> <span class="n">Georgia</span><span class="o">,</span><span class="n">arial</span><span class="p">;</span><span class="nb">text-transform</span><span class="o">:</span><span class="nb">uppercase</span><span class="p">;</span><span class="nb">margin</span><span class="o">:</span><span class="m">0.07em</span> <span class="m">0.14em</span> <span class="m">0</span> <span class="m">0</span><span class="p">;}</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="o">&lt;</span><span class="nt">span</span> <span class="nt">class</span><span class="o">=</span><span class="s2">&quot;bigletter&quot;</span><span class="o">&gt;</span><span class="nt">L</span><span class="o">&lt;/</span><span class="nt">span</span><span class="o">&gt;</span><span class="nt">orem</span> <span class="nt">ipsum</span> <span class="nt">dolor</span> <span class="nt">sit</span><span class="o">...</span> </span></pre></div> </td></tr></table>
css, fonts