Skip to content

Instantly share code, notes, and snippets.

@ZeeAgency
ZeeAgency / LICENSE.txt
Created October 10, 2012 12:34 — forked from chrisevans/LICENSE.txt
dependency management
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@ZeeAgency
ZeeAgency / dabblet.css
Created April 17, 2012 09:40 — forked from LeaVerou/dabblet.css
Vertical centering with inline-block + generated-content
/**
* Vertical centering with inline-block + generated-content
* Julien Cabanès
* based on http://css-tricks.com/centering-in-the-unknown/
*/
html, body { height: 100%; }
body {
display: inline-block;
margin: 0;
@ZeeAgency
ZeeAgency / dabblet.css
Created April 11, 2012 13:28 — forked from chriscoyier/dabblet.css
Shadow Triangle
/* Shadow Triangle */
span {
display: inline-block;
width: 0;
height: 0;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
border-bottom: 21px solid #BADA55;
-webkit-filter:
@mixin set-experimental-support($moz: false, $webkit: false, $ms: false, $o: false, $khtml: false) {
$experimental-support-for-mozilla: $moz;
$experimental-support-for-webkit: $webkit;
$experimental-support-for-microsoft: $ms;
$experimental-support-for-opera: $o;
$experimental-support-for-khtml: $khtml;
}
@mixin with-only-support-for($moz: false, $webkit: false, $ms: false, $o: false, $khtml: false) {
// Capture the current state
@ZeeAgency
ZeeAgency / dabblet.css
Created February 12, 2012 20:41 — forked from LeaVerou/dabblet.css
TV screen
/**
* TV screen
*/
html { background: white; }
.tv {
position: relative;
width: 200px;
height: 150px;
@ZeeAgency
ZeeAgency / dabblet.css
Created February 12, 2012 20:41 — forked from LeaVerou/dabblet.css
TV screen
/**
* TV screen
*/
html { background: white; }
.tv {
position: relative;
width: 200px;
height: 150px;
@ZeeAgency
ZeeAgency / dabblet.css
Created January 2, 2012 12:12 — forked from LeaVerou/dabblet.css
The -Webkit-scrollbar challenge
/**
* The -Webkit-scrollbar challenge
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Make the first div’s scrollbar like the second’s
* without changing the styling of the div (i.e. you
* can only change the ::-webkit-scrollbar-* rules
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* It doesn't matter if the second div doesn't look the same
* after your changes, it's only there to show you how the
@ZeeAgency
ZeeAgency / inline_example.scss
Created November 2, 2011 14:56 — forked from chriseppstein/inline_example.scss
generate an inline sprite.
@include "icon/*.png";
#{$icon-sprite-base-class} {
background-image: inline-sprite($icon-sprites);
}
@ZeeAgency
ZeeAgency / mouette.js
Created September 27, 2011 14:48
Question Backbone pour Neiluj
var mouetteView = Backbone.View.extend({
el: '#mouette-container',
initialize: function() {
this.mouettes = new mouetteList(); // (collection de mouettes)
this.mouettes.bind('all', this.render, this);
this.mouettes.fetch();
this.template = _.template($('#mouette-template').html());
},
@ZeeAgency
ZeeAgency / LICENSE.txt
Created June 23, 2011 23:16 — forked from 140bytes/LICENSE.txt
dependency management
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE