snipt

Ctrl+h for KB shortcuts

CSS

CSS rounded-corners

1
2
3
4
5
6
7
.rounded-corners {
	-moz-border-radius:5px;
	border-radius:5px;
	-webkit-border-radius:5px;
	border:1px solid #caD3dd;
	padding:10px;
}
https://snipt.net/embed/2b45ece2b234de102ea095fe60cefaa2/
/raw/2b45ece2b234de102ea095fe60cefaa2/
2b45ece2b234de102ea095fe60cefaa2
css
CSS
8
2019-07-13T13:50:30
True
False
False
/api/public/snipt/21002/
css-rounded-corners-3
<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">.rounded-corners</span> <span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="o">-</span><span class="n">moz</span><span class="o">-</span><span class="nb">border</span><span class="o">-</span><span class="n">radius</span><span class="o">:</span><span class="m">5px</span><span class="p">;</span> </span><span id="L-3"><a name="L-3"></a> <span class="nb">border</span><span class="o">-</span><span class="n">radius</span><span class="o">:</span><span class="m">5px</span><span class="p">;</span> </span><span id="L-4"><a name="L-4"></a> <span class="o">-</span><span class="n">webkit</span><span class="o">-</span><span class="nb">border</span><span class="o">-</span><span class="n">radius</span><span class="o">:</span><span class="m">5px</span><span class="p">;</span> </span><span id="L-5"><a name="L-5"></a> <span class="nb">border</span><span class="o">:</span><span class="m">1px</span> <span class="nb">solid</span> <span class="m">#caD3dd</span><span class="p">;</span> </span><span id="L-6"><a name="L-6"></a> <span class="nb">padding</span><span class="o">:</span><span class="m">10px</span><span class="p">;</span> </span><span id="L-7"><a name="L-7"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
css, rounded-corners