Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

murtaugh/sticky-pagination-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Sticky Pagination Fixer Has Been Archived

Why?

It uses javascript to do a job that can now be handled purely through CSS.

How?

Like this:

html {
	scroll-padding-top: foo; /* set this to a value that matches the height of your sticky header */
}

This is supported by all modern browsers, with the exception of IE11, which (at the time of this writing) is about to hit its end of life,

About

Does your site have a sticky header? You should use this script to fix keyboard-based pagination events.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published