Skip to content

Instantly share code, notes, and snippets.

Dan Klammer danklammer

Block or report user

Report or block danklammer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@danklammer
danklammer / index.html
Created Sep 22, 2015 — forked from anonymous/index.html
Super Simple JS + CSS Crossfade (SVG) // source http://jsbin.com/bepoxe
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Super Simple JS + CSS Crossfade (SVG)</title>
<meta name="description" content="Super Simple JS + CSS Crossfade (SVG)">
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
@danklammer
danklammer / index.html
Created Sep 18, 2015 — forked from anonymous/index.html
CSS-Only Animated 'Reminder' Placeholders // source http://jsbin.com/hoqan
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="CSS-Only Animated 'Reminder' Placeholders" />
<meta id="viewport" name="viewport" content="initial-scale=1, user-scalable=1, minimum-scale=1, maximum-scale=1" />
<meta charset="utf-8">
<style id="jsbin-css">
* {
box-sizing: border-box;
margin: 0;
View touch_detect.js
/*=========== Touch support detection ===========*/
(function detect_touch_support(){
if ("ontouchend" in document) {
$('html').addClass('touch');
} else {
$('html').addClass('no-touch');
}
}());
View moving_from_jquery.md

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
View gestures.js
/*
* Vanilla JS - Touch Gestures
* @version 0.1
* @inspired QuoJS - http://quojs.tapquo.com
*
* Supported Gestures: singleTap, doubleTap, hold,
* swipe, swiping, swipeLeft, swipeRight, swipeUp, swipeDown,
* rotate, rotating, rotateLeft, rotateRight, pinch, pinching,
* pinchIn, pinchOut,
* drag, dragLeft, dragRight, dragUp, dragDown
@danklammer
danklammer / Flat Pinboard v1
Created Feb 2, 2014
A simple userstyle for pinboard.in bookmarking site
View Flat Pinboard v1
/* Theme Name: Flat Pinboard */
/* Theme URL: http://tackk.com/flat-pinboard */
/* Version: v1.0 */
/* Created by: Dan Klammer */
/* Broswer: Chrome + Stylish Extension */
html {
-webkit-font-smoothing:antialiased;
height:100%;
}
You can’t perform that action at this time.