Skip to content

Instantly share code, notes, and snippets.

View jordangray's full-sized avatar
💭
I may be slow to respond.

Jordan Gray jordangray

💭
I may be slow to respond.
View GitHub Profile
@jordangray
jordangray / dabblet.css
Created January 10, 2014 22:39
Twitter hackweek
/* Twitter hackweek */
body {
background-color: lightblue;
background-position:
50px 50px,
0 0;
font: 17px/1.4 "Helvetica Neue", Arial, sans-serif;
}
@jordangray
jordangray / dabblet.css
Created December 30, 2013 03:10
Thither mockup
/* Thither mockup */
/* Basic typography and spacing */
h1 {
font-weight: normal;
font-size: 34px;
}
@jordangray
jordangray / dabblet.css
Created December 29, 2013 03:43
Messing about with keyframe animation
/**
* Messing about with keyframe animation
*/
@keyframes logo {
from {
height: auto;
width: auto;
position: fixed;
top: 0;
@jordangray
jordangray / dabblet.css
Last active January 1, 2016 05:29
Star Wars opening crawl effect
/* Star Wars opening crawl effect */
.fade {
margin: -40px auto 0;
max-width: 540px;
position: relative;
width: 50%;
transform: perspective(20px) rotateX(7deg) translateZ(-6px);
}
@jordangray
jordangray / dabblet.css
Created November 21, 2013 16:58
SO #20126262: make last inline child fill available space.
/*
* SO #20126262: make last inline child fill available space.
*/
div {
display: flex;
flex-wrap: wrap;
}
span:last-child {
@jordangray
jordangray / dabblet.css
Created October 10, 2013 11:48
SO #19125580: smiley face animation.
/* SO #19125580: smiley face animation. */
fieldset {
color: #666;
font: 14px Segoe UI, sans-serif;
border: 2px solid #ccc;
width: 400px;
margin: auto;
}
@jordangray
jordangray / dabblet.css
Created September 24, 2013 15:05
Alternative datepicker interface
/**
* Alternative datepicker interface
*/
body {
background: #f06;
background: linear-gradient(135deg, #f00, orange);
min-height: 100%;
}
@jordangray
jordangray / dabblet.css
Last active December 22, 2015 20:18
Splay circles from top along a circular path
/**
* Splay circles from top along a circular path
* http://stackoverflow.com/questions/18735723/spherical-motion-around-object-using-javascript
*/
@keyframes rotate {
0%, 50% {
transform: rotate(0deg) translateY(-150px) rotate(0deg);
}
}
@jordangray
jordangray / dabblet.css
Created September 11, 2013 15:07
Splay circles from top along a circular path
/**
* Splay circles from top along a circular path
* http://stackoverflow.com/questions/18735723/spherical-motion-around-object-using-javascript
*/
@keyframes rotate {
0% {
top: -30px;
left: -30px;
transform: rotate(0deg) translateY(-150px) rotate(0deg);
@jordangray
jordangray / dabblet.css
Created July 19, 2013 13:44
Glowing circle patches
/**
* Glowing circle patches
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
height: 500px;
}