forked from litera/jquery-scrollintoview
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a padding option that will add the additional padding to the top…
…, bottom, left or right of the item being scrolled into view. This makes it look a little nicer when scrolling a box into view and the top of the box isn't sitting at the top of the window. By default the padding is set to 0.
- Loading branch information
Showing
1 changed file
with
18 additions
and
6 deletions.
There are no files selected for viewing
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