Skip to content

Instantly share code, notes, and snippets.

@sillero
sillero / dabblet.css
Created March 13, 2012 13:58
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html {
background: #f06;
background: linear-gradient(45deg, #00f, yellow);
min-height:100%;
}
@sillero
sillero / dabblet.css
Created March 13, 2012 13:58
circular animation
/**
* circular animation
*/
html {
background: #f06;
background: linear-gradient(45deg, #00f, yellow);
min-height:100%;
}
@sillero
sillero / dabblet.css
Created March 13, 2012 14:46
div float full width
/**
* div float full width
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #00f, yellow);
height:100%;
}
div {
@sillero
sillero / dabblet.css
Created March 23, 2012 17:57
div float full width
/**
* div float full width
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #00f, yellow);
height:100%;
}
div {
@sillero
sillero / dabblet.css
Created March 29, 2012 16:03
div float full width
/**
* div float full width
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #00f, yellow);
height:100%;
}
div {
@sillero
sillero / dabblet.css
Created March 29, 2012 16:05
div float full width
/**
* div float full width
*/
html, body {
background: #f06;
background: linear-gradient(45deg, #00f, yellow);
height:100%;
}
div {
@sillero
sillero / dabblet.css
Created April 27, 2012 18:57
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #fff;
min-height: 100%;}
div {
float: left
}
@sillero
sillero / Teste.teste
Created July 5, 2012 00:14
Teste nome
Teste de texto
E duas linhas
@sillero
sillero / Teste.md
Created July 5, 2012 01:00
Teste md

#heading Text

@sillero
sillero / placeholder-polyfill.js
Created August 21, 2012 17:02
Placeholder polyfill (jQuery)
function placeholderPolyfill(el, opt){
opt = opt || {};
var $el = $(el),
testAttribute = function(element, attribute) {
var test = document.createElement(element);
return (attribute in test);
};
if (!testAttribute('input','placeholder') && $el.attr('placeholder').length) {
var defaults = {
clearOnSubmit: true