snipt

Ctrl+h for KB shortcuts

CSS

Helvetica + Ampersand Class

1
2
3
4
5
6
7
8
font-family: 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;

.ampersand {
	font-family: 'Baskerville', 'Palatino', 'Hoefler Text', serif;
	font-size: 1.2em;
	font-style: italic;
}
https://snipt.net/embed/7534e98d75384ca2c5f85c88ee841513/
/raw/7534e98d75384ca2c5f85c88ee841513/
7534e98d75384ca2c5f85c88ee841513
css
CSS
8
2019-08-21T18:04:21
True
False
False
/api/public/snipt/18604/
helvetica-ampersand-class
<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> <a href="#L-8">8</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">font-family</span><span class="o">:</span> <span class="s1">&#39;Helvetica Neue&#39;</span><span class="o">,</span> <span class="s1">&#39;HelveticaNeue&#39;</span><span class="o">,</span> <span class="nt">Helvetica</span><span class="o">,</span> <span class="nt">Arial</span><span class="o">,</span> <span class="nt">sans-serif</span><span class="o">;</span> </span><span id="L-2"><a name="L-2"></a> <span class="nt">-webkit-font-smoothing</span><span class="o">:</span> <span class="nt">antialiased</span><span class="o">;</span> </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a><span class="nc">.ampersand</span> <span class="p">{</span> </span><span id="L-5"><a name="L-5"></a> <span class="nb">font-family</span><span class="o">:</span> <span class="s1">&#39;Baskerville&#39;</span><span class="o">,</span> <span class="s1">&#39;Palatino&#39;</span><span class="o">,</span> <span class="s1">&#39;Hoefler Text&#39;</span><span class="o">,</span> <span class="nb">serif</span><span class="p">;</span> </span><span id="L-6"><a name="L-6"></a> <span class="nb">font-size</span><span class="o">:</span> <span class="m">1.2em</span><span class="p">;</span> </span><span id="L-7"><a name="L-7"></a> <span class="nb">font-style</span><span class="o">:</span> <span class="nb">italic</span><span class="p">;</span> </span><span id="L-8"><a name="L-8"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
css, neat, typography

CSS

Anti-alias text

text-shadow: rgba(0,0,0,.01) 0 0 1px;
https://snipt.net/embed/7164d77351b69a245dacfa691d08832a/
/raw/7164d77351b69a245dacfa691d08832a/
7164d77351b69a245dacfa691d08832a
css
CSS
1
2019-08-21T23:35:31
True
False
False
/api/public/snipt/17097/
anti-alias-text
<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">text-shadow</span><span class="o">:</span> <span class="nt">rgba</span><span class="o">(</span><span class="nt">0</span><span class="o">,</span><span class="nt">0</span><span class="o">,</span><span class="nt">0</span><span class="o">,</span><span class="nc">.01</span><span class="o">)</span> <span class="nt">0</span> <span class="nt">0</span> <span class="nt">1px</span><span class="o">;</span> </span></pre></div> </td></tr></table>
@font-face, css, typography