Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

HTML

html header mobile

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html lang="id" xmlns="http://www.w3.org/1999/xhtml">
https://snipt.net/embed/270184a8ff14ac85c51ed46f18ac7fc9/
https://snipt.net/raw/270184a8ff14ac85c51ed46f18ac7fc9/
270184a8ff14ac85c51ed46f18ac7fc9
html
HTML
2
2016-12-10T20:23:21
True
False
True
Sep 09, 2014 at 01:13 AM
/api/public/snipt/136385/
html-header-mobile-728f51b0
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;!DOCTYPE html PUBLIC &quot;-//WAPFORUM//DTD XHTML Mobile 1.0//EN&quot; &quot;http://www.wapforum.org/DTD/xhtml-mobile10.dtd&quot;&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&quot;id&quot;</span> <span class="na">xmlns</span><span class="o">=</span><span class="s">&quot;http://www.w3.org/1999/xhtml&quot;</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
html, mobile

CSS

Native style momentum scrolling to arrive in iOS 5

1
2
3
4
element {
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}
https://snipt.net/embed/0fd63372964650875f919b4be9b3d8a6/
https://snipt.net/raw/0fd63372964650875f919b4be9b3d8a6/
0fd63372964650875f919b4be9b3d8a6
css
CSS
4
2016-12-10T07:45:17
True
False
False
Jan 24, 2013 at 08:53 AM
/api/public/snipt/54385/
native-style-momentum-scrolling-to-arrive-in-ios-5
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nt">element</span> <span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="nb">overflow</span><span class="o">:</span> <span class="nb">scroll</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="nb">overflow</span><span class="o">-</span><span class="n">scrolling</span><span class="o">:</span> <span class="n">touch</span><span class="p">;</span> </span><span id="L-4"><a name="L-4"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
ios, ipad, iphone, mobile, scrolling
Copyrighted, illegal, or inappropriate content? Email [email protected].