Skip to content

Instantly share code, notes, and snippets.

View Splurov's full-sized avatar

Mikhail Kalashnik Splurov

View GitHub Profile
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>iOS No Scroll</title>
<style>
html.no-scroll, html.no-scroll > body {
overflow: hidden;
}
var $RegisterUniversalClick = function(target, listener, isMiddleClickTriggers) {
var touchSupported = ('ontouchstart' in window);
var lastEventSource;
if (touchSupported) {
var tapping;
target.addEventListener('touchstart', function(e) {
if (lastEventSource === 'mouse') {
@Splurov
Splurov / dabblet.css
Created June 6, 2013 16:36 — forked from anonymous/dabblet.css
Untitled
div {width: 170px; font-size: 14px;}
label {display: inline-block; padding-left: 20px; text-indent: -20px; vertical-align: middle;}
input {
margin: 0 7px 0 0;
width: 13px;
padding: 0;
border: 0;
height: auto;
font-size: inherit;
vertical-align: middle;
@Splurov
Splurov / dabblet.css
Created June 6, 2013 16:20 — forked from anonymous/dabblet.css
Untitled
div {width: 170px; font-size: 14px;}
label {display: inline-block; padding-left: 20px; text-indent: -20px; vertical-align: middle;}
input {
margin: 0 7px 0 0;
width: 13px;
padding: 0;
border: 0;
height: auto;
font-size: 100px;
-moz-box-sizing: border-box;
div {width: 170px; font-size: 18px;}
label {display: inline-block; padding-left: 20px; text-indent: -20px;}
input {
display: inline-block;
line-height: 500px;
margin: 0 7px 0 0;
width: 13px;
padding: 0;
border: 0;
height: auto;