Skip to content

Instantly share code, notes, and snippets.

@HZ-labs
HZ-labs / dabblet.css
Created September 11, 2014 18:04 — forked from LeaVerou/dabblet.css
Pounding heart animation
/* Pounding heart animation */
@keyframes pound {
to { transform: scale(1.4); }
}
.heart {
display: inline-block;
font-size: 150px;
color: #e00;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
html {
background:#FFF;
}
@HZ-labs
HZ-labs / cl.js
Last active August 29, 2015 14:11 — forked from azproduction/cl.js
console.log($LINE$);
// LINE = lineNumber()
/// Stripe builder
/// @author Hugo Giraudel
/// @param {Direction} $direction - Gradient direction
/// @param {List} $colors - List of colors
/// @output `background-image` if several colors, `background-color` if only one
@mixin stripes($direction, $colors) {
$length: length($colors);
@if $length > 1 {
$stripes: ();
@HZ-labs
HZ-labs / gist:22191294974064ecf54c
Last active January 10, 2017 18:48
test typehead html
$('#cwm-search').focus().typeahead('val', '').focus().typeahead('val', 'muse');
/* Original is in LESS and can be found here: https://gist.github.com/gefangenimnetz/3ef3e18364edf105c5af */
@mixin material-shadow($level:1){
@if $level == 1 {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
@else if $level == 2 {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
function toStringUrl(obj,parent) {
"use strict";
var url,el,param,k;
parent = parent || '';
url = [];
for (k in obj) {
el = obj[k];
@HZ-labs
HZ-labs / app.js file
Last active August 29, 2015 14:27 — forked from saniko/app.js file
a very simple bootstrap boilerplate for building backbone.marionette based on require.js
define([
'jquery',
'underscore',
'backbone',
'marionette',
'handlebars',
'text!templates/app_view.html',
'modules/mainMenuView/mainMenuView',
@HZ-labs
HZ-labs / index.html
Created February 1, 2016 10:20 — forked from anonymous/index.html
JS Bin // source http://jsbin.com/dixifab
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<style id="jsbin-css">
html {
font: 14px Helvetica, sans-serif;
background: black;
color: white;
@HZ-labs
HZ-labs / app.coffee
Created May 13, 2016 09:00 — forked from lancejpollard/app.coffee
head.js, coffeescript, coffeekup
# https://gist.github.com/835458
head.js(
"/javascripts/vendor/plugins/coffeekup.js",
"/javascripts/vendor/plugins/jquery.js",
"/javascripts/vendor/plugins/underscore.js",
"/javascripts/vendor/plugins/backbone.js",
"/javascripts/app/deals.js"
)
html_head = ->