I wonder how to make a sticky header shrink(with animation) when you scroll down the page and goes back to normal state when the page is scrolled up to the top. Here are two
This link has a great tutorial with source code that you can play with, showing how to make elements within the header smaller as well as the header itself.