Skip to content

Instantly share code, notes, and snippets.

View Garavani's full-sized avatar
🎯
Focusing

Stefan Seifert Garavani

🎯
Focusing
View GitHub Profile
@joseph
joseph / touch_hound.js
Created October 13, 2014 16:41
TouchHound translates touch events back into iframes, for iOS8 home screen app workaround
define(function (require) {
var Gala = require('gala');
var C = require('common');
var TouchHound = function (element) {
this._ = {};
this._.element = element;
var handle = this._handleEvent.bind(this);
this._.handler = new Gala.ContactHandler(
@bergantine
bergantine / gist:5243223
Last active September 27, 2018 03:04
CSS grayscale filter (go from grayscale to full color on hover) #css #sethneilson
img:hover {
-webkit-filter: grayscale(0%);
-webkit-transition: .5s ease-in-out;
-moz-filter: grayscale(0%);
-moz-transition: .5s ease-in-out;
-o-filter: grayscale(0%);
-o-transition: .5s ease-in-out;
}
img {