cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <header class="sticky">
  <!-- This might seem a bight hacky but it works great -->
  <div class="col-sm col-lg-10 col-lg-offset-1">
    <a href="#" role="button">Home</a>
    <a href="#" role="button">About</a>
    <a href="#" role="button">Contact</a>
  </div>
</header>
<br />
<div class="container">
  <div class="row cols-sm-12 cols-lg-10">
    <!-- Add the extra style to make card spacing look better -->
    <div class="col-lg-offset-1 row" style="-webkit-justify-content: space-around; justify-content: space-around;">
      <div class="card">
        <img src="https://placehold.it/800x600" class="section media">
        <h3 class="section double-padded">Lorem ipsum</h3>
        <p class="section double-padded">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
      </div>
      <div class="card">
        <img src="https://placehold.it/800x600" class="section media">
        <h3 class="section double-padded">Pellentesque nisl leo</h3>
        <p class="section double-padded">Pellentesque nisl leo, pharetra eu ipsum ut, lacinia faucibus neque.</p>
      </div>
      <div class="card">
        <img src="https://placehold.it/800x600" class="section media">
        <h3 class="section double-padded">Quisque ac tortor</h3>
        <p class="section double-padded">Quisque ac tortor in elit ultricies facilisis.</p>
      </div>
     <div class="card">
        <img src="https://placehold.it/800x600" class="section media">
        <h3 class="section double-padded">Morbi pretium</h3>
        <p class="section double-padded">Morbi pretium leo a libero facilisis viverra.</p>
      </div>
      <div class="card">
        <img src="https://placehold.it/800x600" class="section media">
        <h3 class="section double-padded">Vivamus maximus</h3>
        <p class="section double-padded">Vivamus maximus nibh a tempor fermentum.</p>
      </div>
      <div class="card">
        <img src="https://placehold.it/800x600" class="section media">
        <h3 class="section double-padded">Suspendisse vitae</h3>
        <p class="section double-padded">Suspendisse vitae gravida justo, et faucibus erat.</p>
      </div>
    </div>
  </div>
</div>
<footer>
  <div class="col-sm col-lg-10 col-lg-offset-1">
    <p>Copyright &copy; Your Website 2017 | Built using <a href="https://chalarangelo.github.io/mini.css/">mini.css</a>
    </p>
  </div>
</footer>
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console