Skip to content

Instantly share code, notes, and snippets.

View CantonBolo's full-sized avatar

CantonBolo CantonBolo

View GitHub Profile
@CantonBolo
CantonBolo / hoverE-js.js
Last active August 29, 2015 14:13
hover follow glow
$(document).ready(function() {
$(".hoverE-js").mousemove(function(a) {
var b = $(this);
b.hasClass("selected") || (a = "radial-gradient(" + (a.pageX - b.offset().left) + "px 100% , rgba(255,255,255,.85), rgba(255, 255, 255, 0))", $(this).css({
"background-image": "-webkit-" + a
}))
}).on("click mouseleave", function() {
$(this).removeAttr("style")
});
});
@CantonBolo
CantonBolo / varnish.vcc
Created November 12, 2014 01:57
varnish.vcc
/* ---===### include/vcl.h ###===--- */
/*
* NB: This file is machine generated, DO NOT EDIT!
*
* Edit and run generate.py instead
*/
struct vrt_ctx;
struct req;
@CantonBolo
CantonBolo / The Float Label Pattern.markdown
Last active August 29, 2015 13:58
A Pen by CantonBolo.