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
//--------ANIMATION | |
var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || | |
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; | |
var cancelAnimationFrame = window.cancelAnimationFrame || window.mozCancelAnimationFrame; | |
var fps, fpsInterval, startTime, now, then, elapsed, time = botCfg.speed; | |
var animation; | |
startAnimating(1); |
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
<div class="flip-container" onclick="this.classList.toggle('hover');"> | |
<div class="flipper"> | |
<div class="inner-card"> | |
<div class="front"> | |
aa | |
</div> | |
<div class="back"> | |
bb | |
</div> | |
</div> |
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
/*--GRID--*/ | |
@mixin columns-blocks($theGutter, $guttername) { | |
.blocks-#{$guttername} { | |
margin-right: 0; | |
margin-left: 0; | |
@include responsive('min', $w-mobile-s) { | |
margin-right: toEm($theGutter * -1); | |
margin-left: toEm($theGutter * -1); | |
} |
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
@mixin placeholder { | |
&::-webkit-input-placeholder { | |
@content; | |
} | |
&:-moz-placeholder { | |
/* Firefox 18- */ | |
@content; | |
} | |
&::-moz-placeholder { | |
/* Firefox 19+ */ |
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
@mixin clean { | |
&::after, | |
&::before { | |
content: ""; | |
display: table; | |
} | |
&::after { | |
clear: both; | |
} | |
} |
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
echo esc_url( get_template_directory_uri() ); |
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
$(document).ready(function() { | |
var configs = { | |
wrap: '#output', | |
data: { | |
labels: ['one', 'two', 'three'], | |
values1: [5, 7, 9], | |
values2: [10, 14, 18] | |
} | |
}; |
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
@mixin rotating($tg) { | |
-webkit-transform: rotate(#{$tg}deg); | |
-ms-transform: rotate(#{$tg}deg); | |
transform: rotate(#{$tg}deg); | |
} | |
div { | |
width: 100px; | |
height: 100px; | |
position: absolute; |
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
$('.elemt').on('click',function(e){ | |
//e.preventDefault(e); | |
$('html,body').animate({scrollTop:0}, 600); | |
}); |