snipt

Ctrl+h for KB shortcuts

CSS

Vnútorné tieňovanie horného a dolného okraja box-u

1
2
3
4
5
-moz-box-shadow:    inset 0  8px 8px -8px #696868, 
                    inset 0 -8px 8px -8px #696868;
                    
-webkit-box-shadow: inset 0  8px 8px -8px #696868, 
                    inset 0 -8px 8px -8px #696868; 
https://snipt.net/embed/4181877fede42eb94bba536f140c15e1/
/raw/4181877fede42eb94bba536f140c15e1/
4181877fede42eb94bba536f140c15e1
css
CSS
5
2016-12-28T03:55:04
True
False
True
Dec 26, 2012 at 05:38 PM
/api/public/snipt/52369/
inset-box-shadow-on-top-and-bottom-only
<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><span class="nt">-moz-box-shadow</span><span class="o">:</span> <span class="nt">inset</span> <span class="nt">0</span> <span class="nt">8px</span> <span class="nt">8px</span> <span class="nt">-8px</span> <span class="nn">#696868</span><span class="o">,</span> </span><span id="L-2"><a name="L-2"></a> <span class="nt">inset</span> <span class="nt">0</span> <span class="nt">-8px</span> <span class="nt">8px</span> <span class="nt">-8px</span> <span class="nn">#696868</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="nt">-webkit-box-shadow</span><span class="o">:</span> <span class="nt">inset</span> <span class="nt">0</span> <span class="nt">8px</span> <span class="nt">8px</span> <span class="nt">-8px</span> <span class="nn">#696868</span><span class="o">,</span> </span><span id="L-5"><a name="L-5"></a> <span class="nt">inset</span> <span class="nt">0</span> <span class="nt">-8px</span> <span class="nt">8px</span> <span class="nt">-8px</span> <span class="nn">#696868</span><span class="o">;</span> </span></pre></div> </td></tr></table>
Inset, and, bottom, box-shadow, on, only, top