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
| :root { | |
| font-size: 100%; | |
| } | |
| *, | |
| *:before, | |
| *:after { | |
| box-sizing: border-box; | |
| } |
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
| import { TimelineMax, TimelineLite, TweenMax } from 'gsap'; | |
| export default class LerpedTimeline { | |
| public progress: number = 0; | |
| public readonly timeline: TimelineMax | TimelineLite; | |
| private readonly ease: number; | |
| private currentProgress: number = 0; | |
| constructor(timeline, ease: number = 0.1) { | |
| this.timeline = timeline; |
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
| /* | |
| * This mixin is used to calculate the max-width of an element within it's wrapper. | |
| * | |
| * The columns have a flexible width | |
| * The columns are divided by a gutter | |
| * The gutters have a fixed width of 40px | |
| * | |
| */ | |
| @mixin column($columnsWanted, $total: 12) { |
NewerOlder