Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

CSS

Social Icon Colours

1
2
3
4
5
6
7
.social a.twitter     { background-color: #55ACEE; }
.social a.facebook    { background-color: #4862A3; }
.social a.pinterest   { background-color: #CD2D34; }
.social a.instagram   { background-color: #4E7BA0; }
.social a.youtube     { background-color: #CC181E; }
.social a.google_plus { background-color: #DD4B39; }
.social a.rss         { background-color: #E5AF0C; }
https://snipt.net/embed/92f5ef1e352bd8f0e366f2185866a873/
https://snipt.net/raw/92f5ef1e352bd8f0e366f2185866a873/
92f5ef1e352bd8f0e366f2185866a873
css
CSS
7
2016-12-02T20:22:11
True
False
False
/api/public/snipt/138288/
social-icon-colours-300ad13f
<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="nc">.social</span> <span class="nt">a</span><span class="nc">.twitter</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#55ACEE</span><span class="p">;</span> <span class="p">}</span> </span><span id="L-2"><a name="L-2"></a><span class="nc">.social</span> <span class="nt">a</span><span class="nc">.facebook</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#4862A3</span><span class="p">;</span> <span class="p">}</span> </span><span id="L-3"><a name="L-3"></a><span class="nc">.social</span> <span class="nt">a</span><span class="nc">.pinterest</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#CD2D34</span><span class="p">;</span> <span class="p">}</span> </span><span id="L-4"><a name="L-4"></a><span class="nc">.social</span> <span class="nt">a</span><span class="nc">.instagram</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#4E7BA0</span><span class="p">;</span> <span class="p">}</span> </span><span id="L-5"><a name="L-5"></a><span class="nc">.social</span> <span class="nt">a</span><span class="nc">.youtube</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#CC181E</span><span class="p">;</span> <span class="p">}</span> </span><span id="L-6"><a name="L-6"></a><span class="nc">.social</span> <span class="nt">a</span><span class="nc">.google_plus</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#DD4B39</span><span class="p">;</span> <span class="p">}</span> </span><span id="L-7"><a name="L-7"></a><span class="nc">.social</span> <span class="nt">a</span><span class="nc">.rss</span> <span class="p">{</span> <span class="nb">background-color</span><span class="o">:</span> <span class="m">#E5AF0C</span><span class="p">;</span> <span class="p">}</span> </span></pre></div> </td></tr></table>
CSS, Social
Copyrighted, illegal, or inappropriate content? Email [email protected].