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

              
                <div class="two-row-4-col-logos-with-text horizontal-flip text-black">

    <div class="row-fluid">
      <div class="span3">
        
        <div class="magic-box">


          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry">
                <img src="http://embed.widencdn.net/img/widen/juphrwbkbt/684pxx/Wordpress_Logo_Horizontal.png" alt="Wordpress" width="210" height="49">
              </div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Search and import assets or embed codes within your Wordpress blog or CMS.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/wlw3zpxfe1/684pxx/drupal_logo-blue_rgb.png" alt="Drupal" width="180" height="46"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Search and import assets or embed codes within your Drupal CMS.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/x3irlkzn42/684pxx/Dropbox_Logo.png" alt="Dropbox" width="200" height="56"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Upload and download files in your Dropbox account.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/gufo4lxco8/684pxx/Box_Logo.png" alt="box" width="120" height="64"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Download files to your Box account.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>

    </div>
    <div class="row-fluid">

      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/d6czrbithz/684pxx/Silicon_Publishing_and_ID_Icon.png" alt="InDesign plugin by Silicon Publishing" width="200" height="106"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><p style="text-align: center;">Drag and drop and sync assets while working in Adobe InDesign.</p> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/csskx4wy1u/684pxx/ProofHQ_vector_logo_RGB.png" alt="ProofHQ" width="210" height="30"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Streamline the review and approval process for any type of creative asset before uploading to DAM.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/dwwipbmjnp/684pxx/Digimarc_Logo.png" alt="Digimarc" width="210" height="30"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Add an extra layer of rights management and protection with digital watermarking from Dropbox.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
      <div class="span3">
        
        <div class="magic-box">
          <div class="flipper">
            <div class="magic-box-cover" style="background-color:#e1e1e1;">
              <div class="industry"> <img src="http://embed.widencdn.net/img/widen/28aufpb9qr/684pxx/Sitecore_Logo.png" alt="Sitecore" width="200" height="92"></div>
            </div>
            <div class="magic-box-content" style="background-color:#e1e1e1;">
              <div class="industry"><div style="text-align: center;">Search and import assets or embed codes within your Sitecore experience management and web CMS.</div> 
              </div>
            </div>
          </div>
        </div>
        
      </div>
    </div>
  </div>
              
            
!

CSS

              
                      
.horizontal-flip .magic-box{
    color: #fff;
    -webkit-perspective: 1000;
            perspective: 1000;
    overflow: hidden;
    margin-bottom: 30px;
    -webkit-transition: -webkit-transform 1s;
    transition: -webkit-transform 1s;
    transition: transform 1s;
    transition: transform 1s, -webkit-transform 1s;
}
.horizontal-flip .magic-box, .horizontal-flip .magic-box .magic-box-content, .horizontal-flip .magic-box .magic-box-cover{ height: 297px; }
.horizontal-flip .magic-box-content, .horizontal-flip .magic-box-cover{
    width:100%;
    padding:10px;
}

.horizontal-flip .magic-box.active>.flipper, .horizontal-flip .magic-box.active>.flipper, .horizontal-flip .magic-box:hover>.flipper {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    -webkit-transition: -webkit-transform 1s;
    transition: -webkit-transform 1s;
    transition: transform 1s;
    transition: transform 1s, -webkit-transform 1s;
}

.horizontal-flip .magic-box-cover{
  display:table;
  vertical-align:middle;
  z-index: 2;
    /* for firefox 31 */
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
}
.horizontal-flip .magic-box-content {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  display:table;
}
.horizontal-flip .industry img{
  display:block;
margin:0 auto;
}
.horizontal-flip .magic-box-content .industry{
      display: table-cell;
    vertical-align: middle;
}

.horizontal-flip .magic-box-cover .industry{
  display:table-cell; 
  vertical-align:middle;
}
.horizontal-flip .flipper{
    -webkit-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    position: relative;

}

.horizontal-flip .magic-box-cover, .horizontal-flip .magic-box-content{
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.horizontal-flip .magic-box-cover:after, .horizontal-flip .magic-box-content:after{
        content: "\f021";
    display: block;
    font: 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    background: #fff;
    border-radius: 100%;
    position:absolute;
    right:10px;
    padding: 5px;
    height: 23px;
    width: 23px;
    font-size: 14px;
    text-align: center;
    color: #555;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

              
            
!

JS

              
                
              
            
!
999px

Console