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
class Tab { | |
static readonly ACTIVE_CLASS: string = 'active'; | |
static readonly EVENT_ACTIVE: string = 'click'; | |
static readonly ATTR: string = 'data-tab-content-id'; | |
public handler: HTMLAnchorElement; | |
public content: Element; | |
public swipers: NodeListOf<Element>; | |
public selectors: NodeListOf<Element>; |
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
background: linear-gradient(259deg, #246655, #23e6b4); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationName 17s ease infinite; | |
-moz-animation: AnimationName 17s ease infinite; | |
-o-animation: AnimationName 17s ease infinite; | |
animation: AnimationName 17s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 45%} | |
50%{background-position:100% 56%} | |
100%{background-position:0% 45%} |
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 ParallaxManager, ParallaxPart; | |
ParallaxPart = (function() { | |
function ParallaxPart(el) { | |
this.el = el; | |
this.speed = parseFloat(this.el.getAttribute('data-parallax-speed')); | |
this.maxScroll = parseInt(this.el.getAttribute('data-max-scroll')); | |
} | |
ParallaxPart.prototype.update = function(scrollY) { |
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
body { | |
background: #415a6c; | |
margin: 0; | |
font-family: 'Oswald'; | |
} | |
.parallax-container { | |
position: fixed; | |
overflow: visible; | |
width: 100%; | |
height: 850px; |