Currently, I am working on creating a webpage with a unique banner design. My goal is for the content to scroll from the bottom and remain fixed directly under the upper portion of the banner.
Initially, my idea was to have the content box take up the size of the screen, include a large margin-top
, and set overflow-y: scrolling
. However, I found this method to be unattractive and not ideal for what I want to achieve.
My primary challenge now is figuring out how to accomplish this while maintaining just one scroll bar. I believe that setting the header to position: fixed
may be necessary... but does anyone have a CSS or more mobile-friendly approach?
UPDATE:
To further illustrate, here is a JSFiddle link for experimentation: http://jsfiddle.net/r2gbyjcs/