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
var scrolledElement = $('#headerToScroll').offset().top; | |
var fomoTriggered = false; | |
var windowScroll = function() { | |
$(window).on('scroll', function(){ | |
var y_scroll_pos = window.pageYOffset; | |
var scroll_pos_test = scrolledElement; | |
if(y_scroll_pos > scroll_pos_test){ | |
console.log('scroll event triggered'); | |
if (!fomoTriggered){ |
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
Verifying my Blockstack ID is secured with the address 1HZnnJbHy2MUsJGDRk46dN1r4SvuP5Vuch https://explorer.blockstack.org/address/1HZnnJbHy2MUsJGDRk46dN1r4SvuP5Vuch |
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
$spaceamounts: (5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90); | |
@mixin generate-margin-bottom() { | |
@each $space in $spaceamounts { | |
.mb-#{$space} { | |
margin-bottom: #{$space}px; | |
} | |
} | |
} | |
@mixin generate-margin-right() { |