Pen Settings



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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <div class="container">

  <aside class="sticky">
      <li>Home Page</li>
      <li>Sub Page</li>
      <li>About US</li>
      <li>Buy App</li>
      <li class="hide top"><a href="#">Back To Top</a></li>
  <img src=""/>
  <p>This app does everything you could possibly want it to do and not only that, it is beautifully designed and extremely intuitive to use. Download it from the App Store for FREE if you don’t mind some adverts popping up or if you prefer an ad-free experience then you can down load the ad-free version for 99p.</p>
    <h2>Who is this app aimed at?</h2>
  <p>Everyone who could possibly need to do anything! It really is the full experience.</p>
  <h2>That’s a big claim, does it really work?</h2>
<p>Yes it does and has been given 5 out of 5 stars on all the reviews we’ve seen so far, so download it now and let us know what you think.</p>
   <h1>Here are just some of the fantastic reviews that we are very humbled to say our app has received:</h1>
 <br> <br>
“I love this app, I couldn’t be without it now.” ★★★★★
 <br> <br>
“Where has this app been all my iPhone owning life?” ★★★★★
 <br> <br>
“It’s official – my Blackberry is complete!” ★★★★★
 <br> <br>
“This app actually does everything it says and does it well, with style.” ★★★★★
   <br> <br>


                @import url(;
body {
  position: relative;
  font-family: 'Open Sans';
  color: #1B1B1B;
  font-size: 16px;
  line-height: 24px;
  background: #DEDEDE;
.container {
  width: 960px;
  margin: auto;
section {
  width: 600px;
  float: right;
  overflow: hidden;
aside {
  margin-top: 100px;
  background-color: #1e2027;
  height: 500px;
  float: left;
  width: 250px;
  padding-top: 50px;
ul li {
  padding-left: 20px;
  padding-top: 20px;
  color: #fff;
  font-weight: bold;

a {
  text-decoration: none;
  color: #fff;
section div {
  width: 90%;
  margin: auto;
  margin-top: 30px;
section div h1 {
  font-size: 24px;
  padding: 20px 0px;
  font-weight: bold;
p {
  padding-left: 20px;
  padding-bottom: 15px;
h2 {
  font-weight: bold;
  font-size: 18px;
    padding-left: 20px;
.fixed {
  position: fixed;
  margin-top: 0px;
.hide {
  display: none;



                var offset = $('.sticky').offset();
$(window).scroll(function(e) {
  if(window.scrollY >= { 
  }  else {

$('.top a').click(function(){
  $(document.body).animate({scrollTop : 0},800);
  return false;