jquery - Make top section fill screen above the header in a onepage website -
i'm trying make onepage website splash page @ top scroll down header.
i want top section fill whole screen header @ bottom hidden when user first loads page. place link on splash page scroll down header.
how can this?
my website www.sleepn9.com/home.htm
my css top section is:
.stop {height: 100%;background: url('img/top_bg.jpg') center no-repeat;}
because using percentage,you need give parent (probably html, body
in case) height section knows of 100%: js fiddle
html, body { height: 100%; width: 100%; margin: 0; }
Comments
Post a Comment