Skip to content

Instantly share code, notes, and snippets.

@fhdalikhan
Created July 23, 2020 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fhdalikhan/5c4312af4293aa1545a5f44a3c0f18da to your computer and use it in GitHub Desktop.
Save fhdalikhan/5c4312af4293aa1545a5f44a3c0f18da to your computer and use it in GitHub Desktop.
Bootstrap modal scroll to top with animation
$('.modal').animate({ scrollTop: 0 }, 'slow');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment