Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>PhoneGap Back Button Example</title>
<script type="text/javascript" charset="utf-8" src="phonegap.0.9.5.js"></script>
<script type="text/javascript" charset="utf-8">
var myMedia = null;
@AliGH
AliGH / dabblet.css
Created March 26, 2013 06:23 — forked from LeaVerou/dabblet.css
iOS 6 style switch checkboxes
/**
* iOS 6 style switch checkboxes
* by Lea Verou http://lea.verou.me
*/
:root input[type="checkbox"] { /* :root here acting as a filter for older browsers */
position: absolute;
opacity: 0;
}
@AliGH
AliGH / dabblet.css
Created March 26, 2013 04:39 — forked from LeaVerou/dabblet.css
MathML with CSS fallback
/**
* MathML with CSS fallback
*/
math {
font-family: 'Cambria Math', Cambria, MathJax_Main,
STIXGeneral, DejaVu Serif, DejaVu Sans,
Times, Lucida Sans Unicode, OpenSymbol,
Standard Symbols L, serif;
}
/* Vertically centered text with SVG */
div {
width: 300px;
height: 150px;
background: #f06;
font: bold 150% sans-serif;
text-shadow: 0 1px 2px rgba(0,0,0,.5);
overflow: hidden; resize: both; /* just for this demo */