snipt

Ctrl+h for KB shortcuts

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-02-08T11:42:40
True
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-02-05T13:26:55
True
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

Text only

CSS: Flickering on animation on iOS

1
2
3
4
5
6
7
Could be fixed by:

Tips 1 - Adding -webkit-backspace-visibility: hidden to the animated element and/or its parent(s) and/or its child(ren)

Tips 2 - Adding translateZ(0) everywhere like a maniac

Tips 3 - Could be because of -webkit-scrolling-overflow ! Remove it and yey. Can't remove it ? Then remove a overflow: hidden on its parent and you should be fine.
https://snipt.net/embed/0798edb481751d69478f7c2e8bd40b5a/
https://snipt.net/raw/0798edb481751d69478f7c2e8bd40b5a/
0798edb481751d69478f7c2e8bd40b5a
text
Text only
7
2016-02-07T00:53:44
True
False
Apr 01, 2015 at 04:04 PM
/api/public/snipt/138822/
css-flickering-on-animation-on-ios-75944e62
<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>Could be fixed by: </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>Tips 1 - Adding -webkit-backspace-visibility: hidden to the animated element and/or its parent(s) and/or its child(ren) </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a>Tips 2 - Adding translateZ(0) everywhere like a maniac </span><span id="L-6"><a name="L-6"></a> </span><span id="L-7"><a name="L-7"></a>Tips 3 - Could be because of -webkit-scrolling-overflow ! Remove it and yey. Can&#39;t remove it ? Then remove a overflow: hidden on its parent and you should be fine. </span></pre></div> </td></tr></table>
animation, blink, crap, css, flicker
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.