This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Delayed Animations | |
*/ | |
@keyframes fadeToBlue { | |
50% { | |
background: blue | |
} | |
} | |
.foo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS Dice: An Experiment by Jonathan Sampson - @jonathansampson */ | |
.die.one .dot { | |
box-shadow: 0 .2em 0 #FFF | |
} | |
.die.two .dot { | |
background: transparent; | |
box-shadow: -2.3em -2.3em 0 #345, | |
2.3em 2.3em 0 #345, | |
-2.3em -2.3em 0 #FFF, | |
2.3em 2.4em 0 #FFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
#people { | |
margin-top: 20px; | |
} | |
#people img { | |
width: 100%; | |
display: block; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on https://snipt.net/gregwhitworth/w3c-keyword-colors-90c153dd/ | |
// adds alphabetical index, hex, and rgb values | |
var colors = { | |
"a": [ | |
[ | |
"aliceblue", | |
"#F0F8FF", | |
"rgb(240, 248, 255)" | |
], | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global document, prompt */ | |
(function( global ) { | |
"use strict"; | |
var response = { | |
browser: { | |
name: prompt( "Browser Name? (Chrome, IExplorer, etc)" ), | |
version: prompt( "Browser Version? (34, 11, etc)" ) | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var output = (function ( object ) { | |
"use strict"; | |
function getProperties ( object ) { | |
return object ? Object.getOwnPropertyNames( object ) | |
.concat( getProperties( Object.getPrototypeOf( object ) ) ) : [] ; | |
} | |
function getUnique ( array ) { |
NewerOlder