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. 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

JavaScript

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

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

              
                <div style="background-color:white;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center;width:100%;darkgray;">
      <div id="a_1" style="display:flex;justify-content:center;align-items:center;width:10%;min-width:100px;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        currit oratio
      </div>
      <div id="a_2" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        Hanc ergo
      </div>
      <div id="a_3" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        adipiscing elit
      </div>
      <div id="a_4" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        illud quasi
      </div>
      <div id="a_5" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        isto voluptatis
      </div>
      <div id="a_6" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        inermis ac nudus
      </div>
      <div id="a_7" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        Videmusne
      </div>
      <div id="a_8" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        impedior
      </div>
      <div id="a_9" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        contra Stoicos
      </div>
      <div id="a_10" style="display:flex;justify-content:center;align-items:center;min-width:100px;width:10%;height:45px;margin-left:1px;margin-right:1px;flex-basis:0;margin-top:1px;margin-bottom:1px;cursor:pointer;" class="hover">
        Est enim tanti
      </div>
    </div>
    <div style="display:flex;flex-flow:column nowrap;justify-content:center;align-items:center;width:100%;">
    <h1 id="unitHeader"></h1>
    <div style="display:flex;flex-flow:row wrap;justify-content:center;align-items:flex-start;background-color:white;cursor:pointer;width:100%;">
      
      <div style="display:flex;flex-flow:column wrap;justify-content:flex-start:align-items:flex-start;">
      <div style="display:flex;justify-content:center;align-items:center;background-color:lightgray;min-width:400px;height:300px;margin-top:20px;">
        QUADAM DISTINGUITUR
      </div>
      <p id="propInfo" style="display:flex;justify-content:center;align-items:center;width:400px;margin-top:10px;">
        At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
      </p>
    </div>
      <div id="btnContainer" style="display:flex;flex-flow:column nowrap;justify-content:space-between;align-items:flex-start;background-color:transparent;margin-right:15px;margin-left:15px;width:50%;min-width:400px;height:600px;margin:20px;">
        <div id="btn1" style="display:flex;justify-content:center;align-items:center;height:50px;width:100%;flex-basis:0;cursor:pointer;margin-top:1px;margin-bottom:1px;" class="hover2">VOCATUR 1</div>
        <div id="btn2" style="display:flex;justify-content:center;align-items:center;height:50px;width:100%;flex-basis:0;cursor:pointer;margin-top:1px;margin-bottom:1px;" class="hover2">DEDERETUR 2</div>
        <div id="btn3" style="display:flex;justify-content:center;align-items:center;height:50px;width:100%;flex-basis:0;cursor:pointer;margin-top:1px;margin-bottom:1px;" class="hover2">UTILIOREM 3</div>
        <div id="btn4" style="display:flex;justify-content:center;align-items:center;height:50px;width:100%;flex-basis:0;cursor:pointer;margin-top:1px;margin-bottom:1px;" class="hover2">MORIBUS 4</div>
        <div id="btn5" style="display:flex;justify-content:center;align-items:center;height:50px;width:100%;flex-basis:0;cursor:pointer;margin-top:1px;margin-bottom:1px;" class="hover2">ARRIPUIT 5</div>
        <div id="btn6" style="display:flex;justify-content:center;align-items:center;height:50px;width:100%;flex-basis:0;cursor:pointer;margin-top:1px;margin-bottom:1px;" class="hover2">PTOLOMAEUM 6</div>
      </div>
    </div>
  </div>
              
            
!

CSS

              
                * {
  transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
transition-duration: .1s;
}
.hover {
  flex-grow: 1.5;
  background-color: lightgray;
}
.hover:hover {
  flex-grow: 2;
  background-color: gray;
  color: white;
}
.hover2 {
  cursor:pointer;
  flex-grow: 1.5;
  background-color: lightgray;
}
.hover2:hover {
  flex-grow: 2;
  background-color: gray;
  color: white;
}
              
            
!

JS

              
                
              
            
!
999px

Console