Skip to content

Instantly share code, notes, and snippets.

View jupegarnica's full-sized avatar
🔍

Garn jupegarnica

🔍
View GitHub Profile
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:36 — forked from LeaVerou/dabblet.css
Overlapping shadows?
/**
* Overlapping shadows?
*/
font: bold 600% 'Open sans',sans-serif;
letter-spacing: -.2em;
text-decoration: line-through underline;
text-shadow: 1em 1em rgba(0,255,255,.2);
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:37 — forked from LeaVerou/dabblet.css
Attempt for Chrome-style progress-indicator with SVG and CSS animations
/**
* Attempt for Chrome-style progress-indicator with SVG and CSS animations
*/
@keyframes spin {
to {
stroke-dashoffset: -264;
}
}
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:38 — forked from LeaVerou/dabblet.css
Just for fun™: Flickr spinner in pure CSS
/**
* Just for fun™: Flickr spinner in pure CSS
*/
@keyframes move {
to { left: 50%; }
}
@keyframes cover {
from,49.9% { z-index: 1 }
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:41 — forked from LeaVerou/dabblet.css
Loading animation like the one seen on http://www.freeger.com/projects/contextad/ with CSS
/**
* Loading animation like the one seen on http://www.freeger.com/projects/contextad/ with CSS
* Caveat: Not DRY. The content needs to be repeated in a data- attribute (or directly in the CSS).
*/
body {
background: #ccc51c;
min-height: 100%;
}
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:44 — forked from LeaVerou/dabblet.css
Reversing animation on mouse-out
/**
* Reversing animation on mouse-out
* Issues: Animation will also play in the beginning
*/
@keyframes test {
from { background: white }
to { background: black }
}
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:45 — forked from LeaVerou/dabblet.css
Testcase for nested @media rules
/**
* Testcase for nested @media rules
* Does not work in Safari 6- (& mobile Safari), IE10-. Seems to work everywhere else, including Safari 6.1.
*/
body { background: red }
@media screen {
body { background: yellow }
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:46 — forked from LeaVerou/dabblet.css
Refactor of the WPD breadcrumbs bar based on the idea by @wernull
/**
* Refactor of the WPD breadcrumbs bar based on the idea by @wernull
*/
ol.breadcrumbs {
margin: 0 0 0 -1.1em;
padding: 0;
height: 1em;
text-transform: uppercase;
float: left;
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:47 — forked from LeaVerou/dabblet.css
CSS transitions on stroke-dasharray
/**
* CSS transitions on stroke-dasharray
*/
circle {
stroke: red;
stroke-width: 10;
stroke-dasharray: 20, 20;
transition: 1s;
}
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 11:56 — forked from LeaVerou/dabblet.css
Flags (In progress!)
/**
* Flags (In progress!)
*/
@font-face {
font-family: 'WPSymbols';
src: url('http://docs.webplatform.org/w/skins/webplatform/fonts/WPSymbols.woff') format('woff'),
url('http://docs.webplatform.org/w/skins/webplatform/fonts/WPSymbols.ttf') format('truetype');
}
@jupegarnica
jupegarnica / dabblet.css
Created September 4, 2013 12:07 — forked from stubbornella/dabblet.css
in a box
/**
* in a box
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
/* natural motion demos */
.natural-motion{