Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                  <div class="parallax-container" id="main">
    <div class="section no-pad-bot">
      <div class="container">
        <br><br>
        <h1 class="header center quote" id="title">AYRTON SENNA</h1>
        <div class="row center">
          <h5 class="header col s12 white-text quote">"Being second is to be the first of the ones who lose."</h5>
        </div>
        <br><br>
      </div>
    </div>
    <div class="parallax" id="img-div"><img src="https://www.realistik-it.com/lotus.jpg" alt="Ayrton Senna">
			<img src="" alt="hidden-image" id="image">
			<p id="img-caption">bla bla bla</p>
		</div>
  </div>


  <div class="container">
    <div class="section">

      <div class="row">
        <div class="col s12 center">
          <h3><i class="mdi-content-send brown-text"></i></h3>
          <h4>ABOUT</h4>
          <p class="left-align light">It was clear from the beginning that Senna was meant to be a race car driver and his father saw this potential and made him a go-kart after which he participated and won countless go-kart racing competitions and eventually contested in the World Karting Championship for three consecutive years.</p>
		  <p class="left-align light">This is the time when his talent was noticed and he moved on to single seater racing. But his break in F1 came in 1984 where he raced for new comers Toleman. He was a racer who was all for traction control only because it'd have increased speed!</p>
		  <p class="left-align light">Senna was ruthless on the track and his pursuit for winning led him to do a lot of crazy things on the track like crashing into team-mate Alain Prost. But his appreciation for the race craft, his ability to find traction in on a wet track and his immense self-control when stress was at the maximum, made him a completely different breed of driver.</p>
		<span><a id="tribute-link" href="https://en.wikipedia.org/wiki/Ayrton_Senna" target="_blank">Read more on Wikipedia</a></span>
		</div>
      </div>

    </div>
  </div>


  <div class="parallax-container valign-wrapper">
    <div class="section no-pad-bot">
      <div class="container">
        <div class="row center">
          <h5 class="header col s12 light white-text quote">"You will never know the feeling of a driver when winning a race. The helmet hides feelings that cannot be understood."</h5>
        </div>
      </div>
    </div>
    <div class="parallax"><img src="https://www.realistik-it.com/helmet.jpg" alt="Unsplashed background img 2"></div>
  </div>

<div class="container">
    <div class="section">
      <div class="row">
        <div class="col s12 m6" id="tribute-info">
          <div class="icon-block">
            <h2 class="center brown-text"><i class="material-icons">flash_on</i></h2>
            <h5 class="center">F1 Results</h5>
            <ul class="center">
				<li>3 Time Formula 1 World Champion</li>
				<li>161 Grand Prix participations</li>
				<li>32,982 Laps leading the race</li>
				<li>610 Scored points</li>
				<li>41 Victories</li>
				<li>65 Pole positions</li>
			</ul>
          </div>
        </div>

        <div class="col s12 m6">
          <div class="icon-block">
            <h2 class="center brown-text"><i class="material-icons">settings</i></h2>
            <h5 class="center">Teams</h5>
            <ul class="center">
				<li>1984 - Toleman</li>
				<li>1985-1987 - Team Lotus</li>
				<li>1988-1993 - McLaren</li>
				<li>1994 - Williams</li>
			</ul>
          </div>
        </div>
      </div>

    </div>
  </div>


  <div class="parallax-container valign-wrapper">
    <div class="section no-pad-bot">
      <div class="container">
        <div class="row center">
					<h5 class="header col s12 light white-text quote">"Racing, competing, is in my blood. It's part of me, it's part of my life; I've been doing it all my life. And it stands up before anything else."</h5>
        </div>
      </div>
    </div>
    <div class="parallax"><img src="https://www.realistik-it.com/senna.jpg" alt="Unsplashed background img 3"></div>
  </div>

  <footer class="page-footer black">
    <div class="footer-copyright">
      <div class="container">
      Created with <i class="material-icons text-red">favorite</i> by <a class="brown-text text-lighten-3" href="#">sorinr</a>
      </div>
    </div>
  </footer>
              
            
!

CSS

              
                .page-footer{
	margin-top: 0px !important;
}
.container h1 {
	font-size: 3em;
	font-weight: 700;
	margin-top: 80px;
	padding: 16px;
	color: #fff;
}
.quote{
	text-shadow: 2px 2px 4px #000;


}
footer{
	text-align: center;
}
/* Some hacks to comply with the test unit */
#image {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	opacity: 0;
}
#img-caption {
	display: none;
}

              
            
!

JS

              
                $(document).ready(function() {
	$('.parallax').parallax();
});
              
            
!
999px

Console