Skip to content

Instantly share code, notes, and snippets.

@gilsanchez
gilsanchez / dabblet.css
Created January 26, 2014 16:34 — forked from LeaVerou/dabblet.css
Animation on hover (right way)
/**
* Animation on hover (right way)
*/
div {
width: 9em;
padding: .6em 1em;
margin: 2em auto;
background: yellowgreen;
animation: spin 1s linear infinite;
@gilsanchez
gilsanchez / SassMeister-input.scss
Created November 14, 2013 20:54 — forked from Snugug/SassMeister-input.scss
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
$test: 'Hello World My Name Is Sam';
//////////////////////////////
// str-replace as single function
//////////////////////////////
@gilsanchez
gilsanchez / SassMeister-input.scss
Created August 7, 2013 22:59
Generated by SassMeister.com, the Sass playground.
// ----
// Sass (v3.2.10)
// Compass (v0.13.alpha.4)
// ----
.foo {
.bar {
content: 'bar';
}
@gilsanchez
gilsanchez / dabblet.css
Created May 6, 2013 20:21 — forked from vasilisvg/dabblet.css
A simple menu with a :hover action
/**
* A simple menu with a :hover action
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
font: 100%/2.5 helvetica, arial;
}
// alert('Hello world!');
@gilsanchez
gilsanchez / dabblet.css
Created April 3, 2013 13:15
Just for fun: Wifi icon with pure CSS
/**
* Just for fun: Wifi icon with pure CSS
*/
.wifi {
padding: 20px;
}
.wifi, .wifi:before {
display: inline-block;
// alert('Hello world!');
@gilsanchez
gilsanchez / dabblet.css
Created March 25, 2013 01:49 — forked from LeaVerou/dabblet.css
Vertically centered text with SVG
/* Vertically centered text with SVG */
div {
width: 300px;
height: 150px;
background: #f06;
font: bold 150% sans-serif;
text-shadow: 0 1px 2px rgba(0,0,0,.5);
overflow: hidden; resize: both; /* just for this demo */
@gilsanchez
gilsanchez / dabblet.js
Created March 25, 2013 01:47 — forked from LeaVerou/dabblet.css
Untitled
// alert('Hello world!');
@gilsanchez
gilsanchez / dabblet.css
Created October 4, 2012 15:58 — forked from kizu/dabblet.css
Triangle with the box-shadow
/**
* Triangle with the box-shadow
*/
.bubble {
position: relative;
width: 30em;
height: 30em;