The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Why is this text not moving with the viewport?
Why is this text within the Hero not moving with the viewport?
Once the hero reaches 70px height I only want to show the navbar http://codepen.io/simonfricker/pen/bEBmVv
Because it’s .header parent (I guess that’s what you’re referring to as “hero”) has fixed position. Please elaborate on what you’re going for exactly.
.header
Im trying to recreate this: https://i.imgur.com/j4SYPUM.gifv but with content inside the ‘hero’
That’ll only work if the markup is tossed around a bit :
Demo