Home › Forums › CSS › [Solved] Twitter profile mobile navbar style (Late 2015) › Reply To: [Solved] Twitter profile mobile navbar style (Late 2015)
December 2, 2015 at 1:29 pm #235518
In your codepen, you have a traditional sticky navbar, which is what I originally thought to use as well, but after watching that gif about 50 times, I realized that the header is not actually scrolling, it is simply shrinking in size and the background image is snapped to the bottom, so it gives it the appearance of scrolling, but the header is “position: fixed” the entire time. Here is a codepen to demonstrate at least one way to get this to work (and how I think they did it).
Hope this helps!