<div id="background"></div> <div id="midground"></div> <div id="foreground"></div> <div id="page-wrap"></div>
#background { background: url(background.png) repeat 5% 5%; background-attachment:fixed; background-position:fixed; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; } #midground { background: url(midground.png) repeat 20% 20%; background-attachment:fixed; background-position:fixed; position: absolute; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; } #foreground { background: url(foreground.png) repeat 90% 110%; background-attachment:fixed; background-position:fixed; position: absolute; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; }
#page-wrap { width: 720px; height:1000px; margin: 0 auto; position: relative; z-index: 300; background: rgba(0,0,0,0.7); overflow: hidden; padding: 30px 50px; border-left: 10px solid rgba(255,255,255,0.2); border-right: 10px solid rgba(255,255,255,0.2);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)