Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts
https://snipt.net/embed/579998a2823b589eef120c8426956fe2/
https://snipt.net/raw/579998a2823b589eef120c8426956fe2/
579998a2823b589eef120c8426956fe2
text
Text only
1
2016-12-02T20:41:27
True
False
False
May 03, 2014 at 06:17 AM
/api/public/snipt/134705/
remove-blue-border-from-links-and-buttons-d6db8d07
<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></pre></div> </td></tr></table>
"blue border", buttons, focus, links

CSS

Simple Focus Shadow

1
2
3
4
5
6
form input[type="text"]:focus, form input[type="email"]:focus, form input[type="password"]:focus, form textarea:focus,.inputFocus,input.inputFocus{
  background: none repeat scroll 0 0 #FFFF88;
  -webkit-box-shadow:0 0 6px #4096EE;
  -moz-box-shadow:0 0 5px #4096EE;
  box-shadow:0 0 5px #4096EE;
}
https://snipt.net/embed/aa394ccf1bb143da1a42c1c3555174ad/
https://snipt.net/raw/aa394ccf1bb143da1a42c1c3555174ad/
aa394ccf1bb143da1a42c1c3555174ad
css
CSS
6
2016-12-05T04:58:32
True
False
False
/api/public/snipt/30214/
simple-focus-shadow
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nt">form</span> <span class="nt">input</span><span class="o">[</span><span class="nt">type</span><span class="o">=</span><span class="s2">&quot;text&quot;</span><span class="o">]</span><span class="nd">:focus</span><span class="o">,</span> <span class="nt">form</span> <span class="nt">input</span><span class="o">[</span><span class="nt">type</span><span class="o">=</span><span class="s2">&quot;email&quot;</span><span class="o">]</span><span class="nd">:focus</span><span class="o">,</span> <span class="nt">form</span> <span class="nt">input</span><span class="o">[</span><span class="nt">type</span><span class="o">=</span><span class="s2">&quot;password&quot;</span><span class="o">]</span><span class="nd">:focus</span><span class="o">,</span> <span class="nt">form</span> <span class="nt">textarea</span><span class="nd">:focus</span><span class="o">,</span><span class="nc">.inputFocus</span><span class="o">,</span><span class="nt">input</span><span class="nc">.inputFocus</span><span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="nb">background</span><span class="o">:</span> <span class="nb">none</span> <span class="nb">repeat</span> <span class="nb">scroll</span> <span class="m">0</span> <span class="m">0</span> <span class="m">#FFFF88</span><span class="p">;</span> </span><span id="L-3"><a name="L-3"></a> <span class="o">-</span><span class="n">webkit</span><span class="o">-</span><span class="n">box</span><span class="o">-</span><span class="n">shadow</span><span class="o">:</span><span class="m">0</span> <span class="m">0</span> <span class="m">6px</span> <span class="m">#4096EE</span><span class="p">;</span> </span><span id="L-4"><a name="L-4"></a> <span class="o">-</span><span class="n">moz</span><span class="o">-</span><span class="n">box</span><span class="o">-</span><span class="n">shadow</span><span class="o">:</span><span class="m">0</span> <span class="m">0</span> <span class="m">5px</span> <span class="m">#4096EE</span><span class="p">;</span> </span><span id="L-5"><a name="L-5"></a> <span class="n">box</span><span class="o">-</span><span class="n">shadow</span><span class="o">:</span><span class="m">0</span> <span class="m">0</span> <span class="m">5px</span> <span class="m">#4096EE</span><span class="p">;</span> </span><span id="L-6"><a name="L-6"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
css3, focus, shadow
Copyrighted, illegal, or inappropriate content? Email [email protected].