How to change font size when scrolling

I often see websites have a large nav bar that decreases in size when the user scrolls down. Does anybody know what to use to do this?

Try this link, view the source and look for the link to the Sitepoint article.

http://john-betong.tk/starwars

Tentatively tapped on a tablet :frowning:

I think you might be talking about a sticky header?

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.