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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <header id="banner" role="banner" class="banner">

  <h1><a href="https://codepen.io/atelierbram/full/xtmAE">Giant</a></h1>
  <p class="tagline">Header</p>

</header>

<nav role="navigation" class="nav">

  <ul id="nav_list" class="nav_list">
    <li><a href="#update">update</a></li>
    <li><a href="#evaluate">evaluate</a></li>
    <li><a href="#participate">participate</a></li>
    <li><a href="#communicate">communicate</a></li>
  </ul>

</nav>

<div class="wrapper">


  <main role="main" id="main" class="main">

  <section id="update" class="update">
    <header>
      <h2>Gigantic!</h2>
    </header>

    <article>

      <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
      <p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
      <p>Nam liber tempor soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
      <p>Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
    </article>
  </section>

  <section id="evaluate" class="evaluate">
    <header>
      <h2>Evaluation</h2>
    </header>

    <article>
      <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
      <p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
      <p>Nam liber tempor soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
      <p>Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
    </article>
  </section>

  <section id="participate" class="participate">
    <!-- This is the section's header. It contains the heading and navigation links for within the section -->
    <header>
      <h2>Participation</h2>
    </header>

    <article>
      <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
      <p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
      <p>Nam liber tempor soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
      <p>Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
    </article>
  </section>

  <section id="communicate" class="communicate">

    <!-- This is the section's header. It contains the heading and navigation links for within the section -->
    <header>
      <h2>Communication</h2>
    </header>

    <article>

      <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
      <p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
      <p>Nam liber tempor soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
      <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
      <p>Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
    </article>
  </section>
  </main>
</div><!-- /.wrapper -->

<footer role="contentinfo" class="footer">
  <small><a href="https://codepen.io/atelierbram/pen/xtmAE">on Codepen</a></small>
</footer>
              
            
!

CSS

              
                /* https://css-tricks.com/forums/topic/need-help-with-div-positioning-it-seems-to-not-lock-in-place/ */
* {
  /* outline: 1px dotted salmon; */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
html,
body {
  min-height: 100%;
  background-color: #777068;
}
body {
  font: 100%/1.375 AvenirNext-Regular, Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Segoe Ui", "DejaVu Sans", Verdana, sans-serif;
  color: #454343;
  text-align: justify;
}
a {
  color: #414d5b;
  text-decoration: none;
}
a:focus {
  outline: 1px dotted #fff;
}
a:visited {
  color: #414d5b;
}
a:hover {
  color: #fff;
}
a:active {
  color: #414d5b;
}
.banner {
  text-align: right;
  padding-right: 2em;
  height: 175px;
  -webkit-transition: background .4s;
  -moz-transition: background .4s;
  transition: background .4s;
  border-bottom: 10px solid #8291a4;
  background: #BCB9B6 url(//placehold.it/180x120/4c5764/) 1em 1em no-repeat;
  /* -webkit-background-size: 130px 130px; */
 /*  -moz-background-size: 130px 130px; */
 /*  background-size: 130px 130px; */
}
.banner.clone {
  position: fixed;
  top: -175px;
  left: 0;
  right: 0;
  background: #333;
  background: hsla(0,0%,0%,.25);
  /* height: 40px; */
  height: 2.5em;
  border-bottom: none;
  text-align: center;
}
.banner.clone img {
  display: none;
}
.has-scrolled .banner.clone {
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  background: hsla(0,0%,0%,.5);
}
.banner h1 {
  margin: 0;
  font-size: 3em;
}
.banner .tagline {
  margin: 0;
  padding: 0;
  font-size: 1.5em;
  display: inline-block;
}
.banner a {
  display: block;
}
.banner.clone h1,
.banner.clone .tagline {
  text-indent: -99em;
}
.wrapper {
  margin: 0 auto;
  overflow: auto;
  /* max-width: 744px; */
  max-width: 46.5em;
}
.main {
  background: #b1ada9;
}
.nav {
  margin: 0 auto;
  padding: 0;
  height: 40px;
}
.nav_list {
  text-transform: uppercase;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
}
.nav_list li,
.nav_list a {
  float: left;
}
.nav_list a {
  padding: .5em .75em;
  position: relative;
  font-size: 14px;
  font: .875rem/1.375 Georgia, serif;
  color: #454039;
}
.nav_list a:hover {
  color: #fff;
}
.has-scrolled .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
}
.has-scrolled .nav_list {
  max-width: 420px;
  padding-top: .25em;
}
.has-scrolled .nav_list a {
  color: #e8e6e3;
}
h1,
h2,
.banner .tagline {
  font-family: AvenirNextCondensed-DemiBold, Calibri, Corbel, "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Tahoma, Verdana, sans-serif;
}
article {
  padding: 0 1em 3em;
}
section {
  margin: 0;
  padding-top: 3em;
}
section h2 {
  font-size: 1.25em;
  color: #fff;
  margin: 0 0 .5em;
  padding: .25em 0;
  font-weight: normal;
  text-align: center;
  background-color: #4c5764;
  position: relative;
}
section h2:after {
  content: "";
  position: absolute;
  top: 0; left:0; right: 0;
  width: 999px;
  height: 48px;
  z-index: 4;
  background: #777068;
  margin-top: -48px;
  margin-left: -10px;
}
section:first-of-type h2:after {
  /* background: green; */
}
.footer {
  position: fixed;
  font-size: .875em;
  color: #fff;
  width: 100%;
  padding: .25em 0;
  display: block;
  text-align: center;
  bottom: 0;
  left: 0;
  right: 0;
  background: #8290aa;
  z-index: 5;
}
.footer small {
  display: inline-block;
}
.footer small a {
  background: url(https://cdn-snippets.googlecode.com/git/svg/codepen-button-fill-black_400x400_min.svg) 0px 3px no-repeat;
  -webkit-background-size: 28px 28px;
  -moz-background-size: 28px 28px;
  background-size: 28px 28px;
  display: inline-block;
  padding: 1em 0 .75em 3em;
  color: #8290aa;
} 
.footer small a:hover {
  color: #fff;
}
p {
  padding: .5em 0;
  margin: 0;
}
img {
  max-width: 100%;
}
:target {
  -webkit-animation: highlight 3s ease;
  -moz-animation: highlight 3s ease;
  animation: highlight 3s ease;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes highlight {
  0% { background-color: hsla(0,0%,100%,.25); }
  100% { background-color: hsla(0,0%,100%,.5); }
}
@-moz-keyframes highlight {
  0% { background-color: hsla(0,0%,100%,.25); }
  100% { background-color: hsla(0,0%,100%,.5); }
}
@keyframes highlight {
  0% { background-color: hsla(0,0%,100%,.25); }
  100% { background-color: hsla(0,0%,100%,.5); }
}

@media (min-width: 600px) {
  .banner {
    text-align: center;
    padding-right: 0;
  }
   .banner h1 {
    font-size: 6em;
    line-height: 1;
  }
  .banner .tagline {
    font-size: 3em;
    line-height: 1;
  }
}
  
@media (min-width: 744px) { 
  .nav {
    margin: 0 auto;
    padding: 0;
    max-height: 40px;
    webkit-transition: background-position .4s ease-in;
    moz-transition: background-position .4s ease-in;
    transition: background-position .4s ease-in;
    background: url(http://placehold.it/180x120/4c5764/) -50px 8px no-repeat;
    -webkit-background-size: 32px 24px;
    -moz-background-size: 32px 24px;
    background-size: 32px 24px;
    position: relative;
  }
  .has-scrolled .nav {
    background-position: 8px 8px;
  }
  .nav_list {
    text-transform: uppercase;
    list-style: none;
    margin: 0 auto;
    max-width: 425px;
    padding: 0;
    overflow: auto;
  }
  .nav_list li {
  }
  .nav_list li,
  .nav_list a {
    float: left;
  }
  .nav_list a {
    padding: .5em .75em;
    position: relative;
    color: #454039;
  }
  .nav_list a:hover {
    color: #ffffff;
  }
  .nav_list li a:after {
    position: absolute;
    content: "\2022";
    top: .5em;
    left: -.25em;
  }
  .nav_list li:first-child a:after {
    content: "";
  }
  .nav_list a:hover:after {
    color: #454039;
  }
  .has-scrolled .nav_list a:hover:after {
    color: #e8e6e3;
  }
  .nav:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #777068;
    z-index: 6;
  }
  .has-scrolled .nav:after {
    left: -50px;
    background: transparent;
    height: 0;
    width: 0;
    z-index: -1;
  }
  .wrapper {
    padding-left: 2%;
    padding-right: 2%;
  }
  article {
    padding-left: 6em;
    padding-right: 6em;
  }
}

@media (max-width: 450px) {
  .nav_list {
    padding-left: .5em;
  }
  .nav_list a {
    font-size: 11px;
    font-size: 0.6875rem;
  }

}
@media (max-width: 450px) {
  .banner {
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    background: transparent;
    height: 0;
    border-bottom: none;
    text-align: center;
  }
  .banner h1,
  .banner .tagline {
    text-indent: -99em;
  }

}

              
            
!

JS

              
                /* 
 * [Question on Stackoverflow](http://stackoverflow.com/questions/18382496/sticky-header-after-scrolling-down)
* [jsfiddle](http://jsfiddle.net/XyVAG/9/) by [michael-calkins](http://stackoverflow.com/users/1069899/michael-calkins)
*/                              
$(function() {
  var $header = $("#banner"),
  $clone = $header.before($header.clone().addClass("clone"));

 $(window).on("scroll", function() {
   var fromTop = $(window).scrollTop();
   console.log(fromTop);
   $("body").toggleClass("has-scrolled", (fromTop > 200));
  });
}); 
// https://css-tricks.com/snippets/jquery/smooth-scrolling/
$(function() {
 function filterPath(string) {
 return string
  .replace(/^\//,'')
  .replace(/(index|default).[a-zA-Z]{3,4}$/,'')
  .replace(/\/$/,'');
 }
 var locationPath = filterPath(location.pathname);
 var scrollElem = scrollableElement('html', 'body');

 $('a[href*=#]').each(function() {
  var thisPath = filterPath(this.pathname) || locationPath;
  if (  locationPath == thisPath
  && (location.hostname == this.hostname || !this.hostname)
  && this.hash.replace(/#/,'') ) {
   var $target = $(this.hash), target = this.hash;
   if (target) {
    var targetOffset = $target.offset().top;
    $(this).click(function(event) {
     event.preventDefault();
     $(scrollElem).animate({scrollTop: targetOffset}, 400, function() {
      location.hash = target;
     });
    });
   }
  }
 });

 // use the first element that is "scrollable"
 function scrollableElement(els) {
  for (var i = 0, argLength = arguments.length; i <argLength; i++) {
   var el = arguments[i],
     $scrollElement = $(el);
   if ($scrollElement.scrollTop()> 0) {
    return el;
   } else {
    $scrollElement.scrollTop(1);
    var isScrollable = $scrollElement.scrollTop()> 0;
    $scrollElement.scrollTop(0);
    if (isScrollable) {
     return el;
    }
   }
  }
  return [];
 }

}); 
              
            
!
999px

Console