snipt

Ctrl+h for KB shortcuts

CSS

CSS Floating Next Button

1
2
3
#form-pagebreak-back_91, #form-pagebreak-next_91, #form-pagebreak-back_92, #form-pagebreak-next_92,
#form-pagebreak-back_95, #form-pagebreak-next_95,
#form-pagebreak-back_98, #form-pagebreak-next_98{position:fixed;bottom:3px;left:600px;background:#fff4c8;border:2px solid #ffcc00;width:150px;z-index:100;}
https://snipt.net/embed/4fd9c80d96a9454993601134476d1769/
https://snipt.net/raw/4fd9c80d96a9454993601134476d1769/
4fd9c80d96a9454993601134476d1769
css
CSS
3
2016-05-29T21:56:08
True
False
False
Mar 23, 2016 at 12:12 PM
/api/public/snipt/144903/
css-floating-next-button
<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></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="nf">#form-pagebreak-back_91</span><span class="o">,</span> <span class="nf">#form-pagebreak-next_91</span><span class="o">,</span> <span class="nf">#form-pagebreak-back_92</span><span class="o">,</span> <span class="nf">#form-pagebreak-next_92</span><span class="o">,</span> </span><span id="L-2"><a name="L-2"></a><span class="nf">#form-pagebreak-back_95</span><span class="o">,</span> <span class="nf">#form-pagebreak-next_95</span><span class="o">,</span> </span><span id="L-3"><a name="L-3"></a><span class="nf">#form-pagebreak-back_98</span><span class="o">,</span> <span class="nf">#form-pagebreak-next_98</span><span class="p">{</span><span class="k">position</span><span class="o">:</span><span class="k">fixed</span><span class="p">;</span><span class="k">bottom</span><span class="o">:</span><span class="m">3px</span><span class="p">;</span><span class="k">left</span><span class="o">:</span><span class="m">600px</span><span class="p">;</span><span class="k">background</span><span class="o">:</span><span class="m">#fff4c8</span><span class="p">;</span><span class="k">border</span><span class="o">:</span><span class="m">2px</span> <span class="k">solid</span> <span class="m">#ffcc00</span><span class="p">;</span><span class="k">width</span><span class="o">:</span><span class="m">150px</span><span class="p">;</span><span class="k">z-index</span><span class="o">:</span><span class="m">100</span><span class="p">;}</span> </span></pre></div> </td></tr></table>
button, css, floating, next

Text only

Dots Overlay (matrix)

1
2
3
4
5
6
7
8
.dot-matrix {
    background: url(http://s14.directupload.net/images/111129/44ga9qid.png);
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1; 
}
https://snipt.net/embed/73f44c77de5c9769bde367211d64cedf/
https://snipt.net/raw/73f44c77de5c9769bde367211d64cedf/
73f44c77de5c9769bde367211d64cedf
text
Text only
8
2016-05-29T20:52:50
True
False
False
Dec 15, 2015 at 08:51 AM
/api/public/snipt/143075/
dots-overlay-matrix
<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 id="L-1"><a name="L-1"></a>.dot-matrix { </span><span id="L-2"><a name="L-2"></a> background: url(http://s14.directupload.net/images/111129/44ga9qid.png); </span><span id="L-3"><a name="L-3"></a> height: 100%; </span><span id="L-4"><a name="L-4"></a> width: 100%; </span><span id="L-5"><a name="L-5"></a> position: fixed; </span><span id="L-6"><a name="L-6"></a> top: 0; </span><span id="L-7"><a name="L-7"></a> z-index: 1; </span><span id="L-8"><a name="L-8"></a>} </span></pre></div> </td></tr></table>
css

Text only

CIRCLE IMAGE SIMPLE

1
2
3
4
5
6
7
.img-circle {
    border-radius: 50%;
}

Now any image with the img-circle class will be displayed as a perfect circle:

<img class="img-circle" src="kitten.jpg">
https://snipt.net/embed/14f7751b5d61be4d632534297219db3e/
https://snipt.net/raw/14f7751b5d61be4d632534297219db3e/
14f7751b5d61be4d632534297219db3e
text
Text only
7
2016-05-29T23:36:50
True
False
False
Sep 26, 2015 at 06:16 PM
/api/public/snipt/141251/
circle-image-simple
<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 id="L-1"><a name="L-1"></a>.img-circle { </span><span id="L-2"><a name="L-2"></a> border-radius: 50%; </span><span id="L-3"><a name="L-3"></a>} </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a>Now any image with the img-circle class will be displayed as a perfect circle: </span><span id="L-6"><a name="L-6"></a> </span><span id="L-7"><a name="L-7"></a>&lt;img class=&quot;img-circle&quot; src=&quot;kitten.jpg&quot;&gt; </span></pre></div> </td></tr></table>
circle, css, image
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.