CodePen

HTML

            
              <div class="bg"></div>
<section>
  <h1>Home page</h1>
  <p>We are a fairly small, flexible design studio that designs for print and web. We work flexibly with clients to fulfil their design needs. Whether you need to create a brand from scratch, including marketing materials and a beautiful and functional website or whether you are looking for a design refresh we are confident you will be pleased with the results.</p>
  <p>We offer the following services:</p>
<ul>
  <li>Branding</li>
  <li>Logos</li>
  <li>Websites</li>
  <li>Web applications</li>
  <li>Web development – HTML5, CSS, jQuery</li>
  <li>Content Management Systems</li>
  <li>Responsive Web Design</li>
  <li>Illustration</li>
  <li>Business cards</li>
  <li>Letterheads and compliment slips</li>
  <li>Flyers</li>
  <li>Mailers</li>
  <li>Appointment cards</li>
  </ul>
  <h1>Sub page</h1>
  <p>Before you choose us to take on your project you will probably want to know a bit more about us, so meet the team:</p>
  <img src="http://lorempixum.com/500/600"/>
  <p>Ross has over 10 years experience in the industry. He is our Creative Director, digital designer, web designer and front-end developer. He is also pretty good with a sketchbook. Before starting the company Ross worked as a designer and studio manager for a design house who boasted a number of big name clients. Ross has brought his vast experience from this role to the work he does now.</p>
  <p>Monica is Ross’ sister, our Art Director and specialises in graphic and print design. She has also worked with some big names and her designs have won her a number of industry awards.</p>
  <p>Rachel and Chandler are our Junior Designers. Rachel is a web designer with knowledge of HTML and CSS and supports Ross on projects. Chandler has just finished his Graphic Design degree and enjoys continuing to learn from Monica and building his experience.</p>
    <img src="http://lorempixum.com/500/600/sports"/>
  <p>Joey and Phoebe focus on bringing new business to the company. They have won a number of big clients recently and both also have qualifications in project management to ensure that the projects run smoothly from start to finish.</p>
</section>
            
          
!

CSS

            
              .bg {
  background: url('http://i.imgur.com/USFbNpC.jpg') repeat;
  position: fixed;
  width: 100%;
  height: 300%;
  top:0;
  left:0;
  z-index: -1;
}
section {
  color: #fff;
  font-family: arial;
  width: 500px;
  margin: auto;
  line-height: 20px;
  font-size: 16px;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              $(window).scroll(function(e){
  parallax();
});
function parallax(){
  var scrolled = $(window).scrollTop();
  $('.bg').css('top',-(scrolled*0.2)+'px');
}
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................