Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <body>
<!-- SVG Sprites -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" style="display:none;">
  
  <symbol id="facebook" viewBox="36 36">
    <title>facebook</title>
      <path d="M18 24L15.3 24 15.3 18 14 18 14 15.9 15.3 15.9 15.3 14.7C15.3 13 16.1 12 18.2 12L20 12 20 14.1 18.9 14.1C18 14.1 18 14.4 18 14.9L18 15.9 20 15.9 19.8 18 18 18 18 24 18 24Z" fill="#FFFFFF"/>
  </symbol>
  
  <symbol id="google" viewBox="36 36">
    <title>google</title>
    <path d="M15.6 23.4C14.3 23.4 13.3 22.5 13.3 21.4 13.3 20.4 14.5 19.5 15.8 19.5 16.2 19.5 16.5 19.5 16.7 19.6 17.5 20.2 18 20.5 18.1 21.1 18.2 21.2 18.2 21.3 18.2 21.5 18.2 22.6 17.5 23.4 15.6 23.4M16 17C15.1 17 14.2 16 14 14.7 13.9 13.5 14.5 12.5 15.4 12.5 16.3 12.6 17.2 13.6 17.3 14.8 17.5 16.1 16.9 17.1 16 17M17.9 18.9C17.5 18.7 16.9 18.1 16.9 17.8 16.9 17.4 17 17.2 17.6 16.7 18.2 16.2 18.6 15.5 18.6 14.7 18.6 13.8 18.2 12.9 17.5 12.6L18.6 12.6 19.4 12 15.8 12C14.3 12 12.8 13.3 12.8 14.7 12.8 16.2 13.8 17.4 15.5 17.4 15.6 17.4 15.7 17.4 15.8 17.4 15.7 17.6 15.6 17.9 15.6 18.1 15.6 18.5 15.8 18.9 16.1 19.1 15.9 19.1 15.7 19.1 15.5 19.1 13.5 19.1 12 20.5 12 21.8 12 23.2 13.7 24 15.6 24 17.9 24 19.1 22.7 19.1 21.3 19.1 20.2 18.8 19.6 17.9 18.9M23 13.5L21.6 13.5 21.6 12.1 20.5 12.1 20.5 13.5 19.1 13.5 19.1 14.7 20.5 14.7 20.5 16.1 21.6 16.1 21.6 14.7 23 14.7 23 13.5" fill="#FFFFFF"/>
  </symbol>
  
  <symbol id="twitter" viewBox="36 36">
    <title>twitter</title>
      <path d="M21.7 15.4C22.2 15.1 22.5 14.7 22.7 14.2 22.3 14.4 21.8 14.6 21.3 14.7 20.9 14.3 20.3 14 19.6 14 18.4 14 17.4 15 17.4 16.3 17.4 16.4 17.4 16.6 17.4 16.8 15.5 16.7 13.9 15.8 12.8 14.4 12.6 14.8 12.5 15.1 12.5 15.6 12.5 16.3 12.9 17 13.5 17.4 13.1 17.4 12.7 17.3 12.4 17.2L12.4 17.2C12.4 18.3 13.2 19.2 14.3 19.4 14.1 19.5 13.9 19.5 13.7 19.5 13.5 19.5 13.4 19.5 13.2 19.5 13.5 20.4 14.4 21 15.3 21 14.6 21.6 13.6 22 12.5 22 12.4 22 12.2 22 12 22 13 22.6 14.2 23 15.5 23 19.6 23 21.9 19.5 21.9 16.5 21.9 16.4 21.9 16.3 21.9 16.2 22.3 15.9 22.7 15.5 23 15.1 22.6 15.2 22.2 15.4 21.7 15.4Z" fill="#FFFFFF"/>
  </symbol>
  
  <symbol id="in" viewBox="36 36">
    <title>in</title>
    <path d="M12.3 15.2L14.2 15.2 14.2 22 12.3 22 12.3 15.2ZM13.2 14.4L13.2 14.4C12.5 14.4 12 13.8 12 13.2 12 12.5 12.5 12 13.2 12 13.9 12 14.4 12.5 14.4 13.2 14.4 13.8 13.9 14.4 13.2 14.4L13.2 14.4ZM22 22L19.8 22 19.8 18.5C19.8 17.6 19.4 16.9 18.7 16.9 18.1 16.9 17.8 17.4 17.6 17.8 17.6 17.9 17.6 18.1 17.6 18.3L17.6 22 15.4 22C15.4 22 15.4 15.8 15.4 15.2L17.6 15.2 17.6 16.3C17.7 15.8 18.4 15.1 19.5 15.1 20.9 15.1 22 16.1 22 18.2L22 22 22 22Z" fill="#FFFFFF"/>
  </symbol>
  
  <symbol id="pinterest" viewBox="36 36">
    <title>pinterest</title>
    <path d="M12 17C12 19.5 13.5 21.6 15.6 22.5 15.6 22.1 15.6 21.6 15.7 21.1 15.8 20.6 16.5 17.8 16.5 17.8 16.5 17.8 16.3 17.5 16.3 16.9 16.3 16 16.8 15.3 17.4 15.3 18 15.3 18.2 15.8 18.2 16.2 18.2 16.8 17.9 17.6 17.7 18.4 17.6 19 18 19.5 18.7 19.5 19.8 19.5 20.6 18.1 20.6 16.3 20.6 15 19.7 14 18.1 14 16.2 14 15.1 15.4 15.1 16.9 15.1 17.4 15.3 17.8 15.5 18.1 15.6 18.2 15.6 18.3 15.6 18.4 15.6 18.5 15.5 18.8 15.5 18.9 15.4 19.1 15.3 19.1 15.2 19.1 14.3 18.7 13.9 17.8 13.9 16.8 13.9 15.1 15.4 13 18.2 13 20.5 13 22 14.7 22 16.5 22 18.8 20.7 20.6 18.8 20.6 18.1 20.6 17.5 20.2 17.3 19.8 17.3 19.8 17 21.2 16.9 21.5 16.8 21.9 16.5 22.4 16.3 22.8 16.8 22.9 17.4 23 18 23 21.3 23 24 20.3 24 17 24 13.7 21.3 11 18 11 14.7 11 12 13.7 12 17Z" fill="#FFFFFF"/>
  </symbol>
  
  <symbol id="youtube" viewBox="36 36">
    <title>youtube</title>
    <path d="M23 19.3L23 15.7C23 15.7 23 14 21.3 14L14.7 14C14.7 14 13 14 13 15.7L13 19.3C13 19.3 13 21 14.7 21L21.3 21C21.3 21 23 21 23 19.3M19.9 17.5L16.7 19.4 16.7 15.6 19.9 17.5" fill="#FFFFFF"/>
  </symbol>
  
  <symbol id="instagram" viewBox="36 36">
    <title>instagram</title>
    <path d="M20.9 12L14.1 12C13 12 12 13 12 14.1L12 20.9C12 22 13 23 14.1 23L20.9 23C22 23 23 22 23 20.9L23 14.1C23 13 22 12 20.9 12L20.9 12ZM21.5 13.3L21.7 13.3 21.7 15.1 19.9 15.1 19.9 13.3 21.5 13.3 21.5 13.3ZM15.9 16.4C16.3 15.9 16.9 15.6 17.5 15.6 18.1 15.6 18.7 15.9 19.1 16.4 19.3 16.7 19.4 17.1 19.4 17.5 19.4 18.6 18.6 19.4 17.5 19.4 16.4 19.4 15.6 18.6 15.6 17.5 15.6 17.1 15.7 16.7 15.9 16.4L15.9 16.4ZM21.9 20.9C21.9 21.5 21.5 21.9 20.9 21.9L14.1 21.9C13.5 21.9 13.1 21.5 13.1 20.9L13.1 16.4 14.7 16.4C14.6 16.7 14.5 17.1 14.5 17.5 14.5 19.2 15.8 20.5 17.5 20.5 19.2 20.5 20.5 19.2 20.5 17.5 20.5 17.1 20.4 16.7 20.3 16.4L21.9 16.4 21.9 20.9 21.9 20.9Z" fill="#FFFFFF"/>
  </symbol>
</svg>

<!-- Main -->
<section class="container header">
  <div class="row">
  <div class="col-lg-3 col-lg-offset-1 col-md-12 remove-padding">
    <div class="language">
      <select class="choose-button">
        <option>English</option>
        <option>Polish</option>
        <option>Deutsch</option>
        <option>Italiano</option>
        <option>Nederlands</option>
      </select>
    </div>
    <div class="currency">
      <select class="choose-button">
        <option>USD</option>
        <option>GBP</option>
        <option>PLN</option>
        <option>EUR</option>
        <option>JPY</option>
      </select>
    </div>
  </div>
  <div class="col-lg-2 col-lg-offset-1 col-md-3 col-md-offset-2 list">
    <h5>Company</h5>
    <ul>
          <li><a href="#">About</a></li>
          <li><a href="#">Careers</a></li>
          <li><a href="#">Press</a></li>
          <li><a href="#">Blog</a></li>
          <li><a href="#">Help</a></li>
          <li><a href="#">Policies</a></li>
          <li><a href="#">Disaster Response</a></li>
          <li><a href="#">Terms &amp; Privacy</a></li>
      </ul>
  </div>
  <div class="col-lg-2 col-md-3 list">
    <h5>Discover</h5>
    <ul>
          <li><a href="#">Trust &amp; Safety</a></li>
          <li><a href="#">Travel Credit</a></li>
          <li><a href="#">Gift Cards</a></li>
          <li><a href="#">Airbnb Picks</a></li>
          <li><a href="#">Mobile</a></li>
          <li><a href="#">Airbnb Action</a></li>
          <li><a href="#">Business Travel</a></li>
          <li><a href="#">Site Map</a></li>
      </ul>
  </div>
  <div class="col-lg-2 col-md-3 list">
    <h5>Hosting</h5>
    <ul>
          <li><a href="#">Why Host</a></li>
          <li><a href="#">Hospitality</a></li>
          <li><a href="#">Responsible Hosting</a></li>
          <li><a href="#">Home Safety</a></li>
          <li><a href="#">Instant Book</a></li>
      </ul>
  </div>
  </div>
</section>
<section class="container footer">
  <div class="row">
  <div class="col-md-12">
    <h3>Join Us On</h3>
    <ul class="social">
      <li><a href="#"><svg><use xlink:href="#facebook"></use></svg></a></li>
      <li><a href="#"><svg><use xlink:href="#google"></use></svg></a></li>
      <li><a href="#"><svg><use xlink:href="#twitter"></use></svg></a></li>
      <li><a href="#"><svg><use xlink:href="#in"></use><svg></a></li>
      <li><a href="#"><svg><use xlink:href="#pinterest"></use></svg></a></li>
      <li><a href="#"><svg><use xlink:href="#youtube"></use></svg></a></li>
      <li><a href="#"><svg><use xlink:href="#instagram"></use></svg></a></li>
    </ul>
    <span class="copyrights">© Airbnb, Inc.</span>
    
  </div>
  </div>
</section>
</body>
              
            
!

CSS

              
                
/* Typo */

h5 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.copyrights {
  font-size: 14px;
  font-weight: 400;
  color: #757575;
}

a:link {
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}
a:visited {
  color: rgba(255, 255, 255, 1);
}
a:hover {
  text-decoration: none;
  color: #bbbbbb;
}

/* Buttons */

.language, .currency {
  width: 100%;
  background-color: #484848;
  border-radius: 2px;
  position: relative;
}

.language {
  margin-bottom: 12px;
}

.choose-button {
  font-size: 16px;
  font-weight: 400;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #484848;
  border-radius: 2px;
  background-color: transparent;
  appearance: none;
  position: relative;
}

.remove-padding {
  padding: 0;
}

.language:before, .currency:before {
  content: "";
  width: 0; 
  height: 0; 
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #757575;
  position: absolute;
  top: 18px;
  right: 18px;
  }

/* Social icons list */

.social {
  margin-bottom: 12px;
  
  & li {
    display: inline-block;
    padding: 0 5px;
        
      & svg {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        
        &:hover {
          background-color: rgba(255, 255, 255, 0.2);
        }
      }
    }
}

/* Main */

body {
  background-color: #2b2d2e;
  background-image: url("https://a0.muscache.com/airbnb/static/footer/background-317dd7c2cb678ddbdb0a983d511cb9a0.png");
  color: rgba(255, 255, 255, 1);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 80%;
  padding: 48px;
}

.header {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.footer {
  text-align: center;
}

@media screen and (max-width: 1100px) {
  div.list {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .list {
    margin-top: 48px;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console