Elastic stroke CSS + SVG
Forked from yoksel's Pen Elastic stroke CSS + SVG. License.
Elastic stroke CSS + SVG
Forked from yoksel's Pen Elastic stroke CSS + SVG. License.
/** | |
* Be sure to include library scripts in this order. Can be placed either | |
* in the header or footer. | |
*/ | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-infinitescroll/2.0b2.120519/jquery.infinitescroll.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/masonry/3.1.2/masonry.pkgd.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.0.4/jquery.imagesloaded.min.js"></script> |
var Audio = function() | |
{ | |
var audioVolume = 0; | |
var audioLibrary = new Array(); | |
//audioLibrary['music'] = {"src": "audio/whativebecome.mp3", "defaultVolume": 1, "loop": true}; | |
audioLibrary['music'] = {"src": "audio/theway.mp3", "defaultVolume": 1, "loop": true}; | |
var init = function() | |
{ |
define( 'WP_POST_REVISIONS', 2 ); // set false for none | |
define( 'AUTOSAVE_INTERVAL', 160 ); // Seconds, default 60 | |
define( 'EMPTY_TRASH_DAYS', 5 ); // 5 days | |
define( 'WP_ALLOW_REPAIR', true ); // and then use http://www.yourwebsite.com/wp-admin/maint/repair.php |
// REMOVE POST META BOXES | |
function remove_metaboxes() { | |
/* Posts */ | |
remove_meta_box( 'authordiv','post','normal' ); // Author Metabox | |
remove_meta_box( 'commentstatusdiv','post','normal' ); // Comments Status Metabox | |
remove_meta_box( 'commentsdiv','post','normal' ); // Comments Metabox | |
remove_meta_box( 'postcustom','post','normal' ); // Custom Fields Metabox |
$xs: ( max: 767px ); | |
$sm: ( min: 768px ); | |
$md: ( min: 992px ); | |
$lg: ( min: 1200px ); | |
$sm-only: ( min: map-get($sm, min), max: map-get($md, min) - 1 ); | |
$md-only: ( min: map-get($md, min), max: map-get($lg, min) - 1 ); | |
@mixin breakpoint($map) { | |
$query: ""; | |
@if map-has-key($map, min) { $query: append($query, "(min-width: #{map-get($map, min)})") } |
* { | |
@include box-sizing(border-box); | |
} | |
$pad: 20px; | |
.grid { | |
background: white; | |
margin: 0 0 $pad 0; | |
a common optical illusion, animation on page load
A Pen by Jon Faviell on CodePen.
A little optical illusion/quick hacky re-creation of this gif - http://i.imgur.com/mJ7cXhA.gif
A Pen by Tim Holman on CodePen.