This file contains hidden or 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
// Welcome! require() some modules from npm (like you were using browserify) | |
// and then hit Run Code to run your code on the right side. | |
// Modules get downloaded from browserify-cdn and bundled in your browser. | |
require('@emmetio/abbreviation'); | |
require('@emmetio/html-transform'); |
This file contains hidden or 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
ant: { | |
id: "ant", | |
name: "Ant", | |
description: "<strong>Organized</strong>, industrious, and strong, ants work together for <strong>the common good</strong>. They can carry ten times their own weight and make excellent carpenters, <strong>architects</strong> and <strong>soldiers</strong>.", | |
image: "/assets/img/animals/ant_crop.jpg", | |
poster: "/assets/img/animals/ant_poster.jpg" | |
}, | |
bison: { | |
id: "bison", | |
name: "Bison", |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>Scroll position demo</title> | |
<style> | |
html, body { | |
margin: 0px; | |
padding: 0px; | |
min-height: 100%; | |
} |
This file contains hidden or 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
$retina: "only screen and (-webkit-min-device-pixel-ratio: 2 ), only screen and ( -moz-min-device-pixel-ratio: 2), only screen and ( -o-min-device-pixel-ratio: 2/1 ), only screen and ( min-device-pixel-ratio: 2 ), only screen and ( min-resolution: 192dpi ), only screen and ( min-resolution: 2dppx )"; | |
// And then | |
@media #{$retina} { | |
// CSS for retina | |
} |
This file contains hidden or 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
<img src='./img/beach.jpg' | |
data-title='Panoramic Beach' | |
data-caption='Image compliments of unsplash, thanks!' /> | |
<script> | |
var panorama = document.querySelector( 'img' ); | |
panorama.onclick = function() { | |
intenseViewer( this ) | |
} |
This file contains hidden or 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
base64 filename.jpg | pbcopy |
This file contains hidden or 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
cd ~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets | |
echo 'html { -webkit-animation: adjustHue 20s infinite !important; } @-webkit-keyframes adjustHue { 50% { -webkit-filter: hue-rotate(360deg); }}' >> Custom.css |
This file contains hidden or 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
{ | |
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", | |
"font_size": 13, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"theme": "Flatland Dark.sublime-theme" | |
} |
This file contains hidden or 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
<canvas id="canvas"> Sorry, no canvas support here :( </canvas> | |
<div id="start"> START </div> | |
<div id="info"> Double click anywhere = create/destroy point </div> | |
<!-- Bezier curve simulator | |
- Click "Start to start/stop/restart the animation" | |
- Double clicking anywhere else will allow you to add new points to the curve. | |
This file contains hidden or 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
/* Custom CSS for Codepen Vertical Perspecitve | |
Demo: http://i.imgur.com/NWaoRqi.png | |
*/ | |
/* Requires Stylebot for Chrome - https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha?hl=en */ | |
.top-boxes, #result_div { | |
height: 100%; | |
} |
NewerOlder