Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

CSS

better font rendering in safari (less bolded)

1
2
3
html {
    -webkit-font-smoothing: antialiased;
}
https://snipt.net/embed/3a0ec971fb142bb97708c1e6997b7832/
https://snipt.net/raw/3a0ec971fb142bb97708c1e6997b7832/
3a0ec971fb142bb97708c1e6997b7832
css
CSS
3
2016-12-02T14:32:21
True
False
False
/api/public/snipt/39680/
better-font-rendering-in-safari-less-bolded
<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="nt">html</span> <span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="o">-</span><span class="n">webkit</span><span class="o">-</span><span class="nb">font</span><span class="o">-</span><span class="n">smoothing</span><span class="o">:</span> <span class="n">antialiased</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, fonts, webkit

CSS

Google Web Fonts Embed

1
2
3
4
5
6
7
/*
Google Web Fonts are totally free and can be implemented within minutes. You can either use a plugin or an @import command at the top of the CSS file (and then simply use the font’s name in your stylesheet). For instance:
*/

@import url(http://fonts.googleapis.com/css?family=Droid+Sans);

#body { font: normal normal normal 14px/20px Droid Sans, Arial, sans-serif; }
https://snipt.net/embed/f68ef693e15da0faf48c9b79a7e570cb/
https://snipt.net/raw/f68ef693e15da0faf48c9b79a7e570cb/
f68ef693e15da0faf48c9b79a7e570cb
css
CSS
7
2016-12-01T06:43:40
True
False
False
/api/public/snipt/35329/
google-web-fonts-embed
<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> <a href="#L-7">7</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">Google Web Fonts are totally free and can be implemented within minutes. You can either use a plugin or an @import command at the top of the CSS file (and then simply use the font’s name in your stylesheet). For instance:</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><span id="L-5"><a name="L-5"></a><span class="k">@import</span> <span class="nt">url</span><span class="o">(</span><span class="err">‘</span><span class="nt">http</span><span class="o">://</span><span class="nt">fonts</span><span class="nc">.googleapis.com</span><span class="o">/</span><span class="nt">css</span><span class="o">?</span><span class="nt">family</span><span class="o">=</span><span class="nt">Droid</span><span class="o">+</span><span class="nt">Sans</span><span class="err">’</span><span class="o">)</span><span class="p">;</span> </span><span id="L-6"><a name="L-6"></a> </span><span id="L-7"><a name="L-7"></a><span class="nn">#body</span> <span class="p">{</span> <span class="nb">font</span><span class="o">:</span> <span class="nb">normal</span> <span class="nb">normal</span> <span class="nb">normal</span> <span class="m">14px</span><span class="o">/</span><span class="m">20px</span> <span class="err">‘</span><span class="n">Droid</span> <span class="n">Sans</span><span class="err">’</span><span class="o">,</span> <span class="n">Arial</span><span class="o">,</span> <span class="nb">sans-serif</span><span class="p">;</span> <span class="p">}</span> </span></pre></div> </td></tr></table>
css, fonts, google, webfonts

Text only

fix for lion fonts

defaults -currentHost write -globalDomain AppleFontSmoothing -int 0
https://snipt.net/embed/a4cc7f838e4aa583de2b558c0f18d810/
https://snipt.net/raw/a4cc7f838e4aa583de2b558c0f18d810/
a4cc7f838e4aa583de2b558c0f18d810
text
Text only
1
2016-11-25T11:32:13
True
False
False
/api/public/snipt/32444/
fix-for-lion-fonts
<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>defaults -currentHost write -globalDomain AppleFontSmoothing -int 0 </span></pre></div> </td></tr></table>
fonts, lion, osx

Text only

best places to download awesomesauce fonts

1
2
3
4
5
www.theleagueofmoveabletype.com
www.losttype.com

Libre Fonts
GNU FreeFont
https://snipt.net/embed/2262cc4776780026eb18ab9026166fe7/
https://snipt.net/raw/2262cc4776780026eb18ab9026166fe7/
2262cc4776780026eb18ab9026166fe7
text
Text only
5
2016-11-25T13:21:12
True
False
False
/api/public/snipt/32070/
font-resources
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>www.theleagueofmoveabletype.com </span><span id="L-2"><a name="L-2"></a>www.losttype.com </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>Libre Fonts </span><span id="L-5"><a name="L-5"></a>GNU FreeFont </span></pre></div> </td></tr></table>
fonts
Copyrighted, illegal, or inappropriate content? Email [email protected].