Skip to content

Instantly share code, notes, and snippets.

@uwang
Last active May 30, 2016 01:22
Show Gist options
  • Save uwang/cbf717dd3821d5e506c98ef64f641f5a to your computer and use it in GitHub Desktop.
Save uwang/cbf717dd3821d5e506c98ef64f641f5a to your computer and use it in GitHub Desktop.
if($(document).scrollTop() > 50){
  $('.menubar').addClass('accent-color-bg');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment