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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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>
  <span class="right"></span>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero
    repudiandae facere, illo ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet
    aliquam nobi quasi. Lorem ipsum. Lorem Ipsum. LIor. Earut L I!</p>
</div>
<div>
  <span class="right"></span>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero
    repudiandae facere, illo ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet
    aliquam nobi quasi. Lorem ipsum. Lorem Ipsum. LIor. Earut L I!</p>
</div>

<div>
  <span class="right"></span>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero
    repudiandae facere, illo ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet
    aliquam nobi quasi. Lorem ipsum. Lorem Ipsum. LIor. Earut L I!</p>
</div>

<div>
  <span class="left"></span>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero
    repudiandae facere, illo ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet
    aliquam nobi quasi. Lorem ipsum. Lorem Ipsum. LIor. Earut L I!</p>
</div>

<div>
  <span class="left"></span>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero
    repudiandae facere, illo ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet
    aliquam nobi quasi. Lorem ipsum. Lorem Ipsum. LIor. Earut L I!</p>
</div>

<div>
  <span class="left"></span>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero
    repudiandae facere, illo ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet
    aliquam nobi quasi. Lorem ipsum. Lorem Ipsum. LIor. Earut L I!</p>
</div>

<div>

  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas architecto soluta ratione enim, blanditiis ipsum excepturi consequuntur adipisci
    eaque quaerat iusto, consequatur iure. Soluta laudantium vitae obcaecati, reprehenderit impedit maiores. Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque quod dignissimos ea, veritatis nobis, quos ipsum maxime eius, ducimus aperiam incidunt
    deserunt accusamus placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate voluptatibus magnam ab ipsam. Lorem ipsum dolor sit amet consectetur, adipisicing elit. Illum exercitationem at porro magni modi quae quibusdam omnis voluptas,
    voluptatem unde temporibus! Doloremque nisi, adipisci fugiat id beatae dolores maxime asperiores.Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum hic repellendus perspiciatis aut, nam qui, itaque saepe libero repudiandae facere, illo
    ex iusto dolore delectus fugit recusandaee. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio necessitatibus, fugiat quia odit neque, asperiores fuga quasi, soluta omnis iure magni illo cumque beatae amet aliquam nobi quasi. Lorem
    ipsum. Lorem Ipsum. Lorems. Nobi Quasi fugiat quia odit neque. Lorem Ipsum Lorem Ipsum Lorem ipsum. LI! Fugiat quia odit neque. Lorem Ipsum Lorem Ipsum Lorem ipsum. LI!</p>
</div>
              
            
!

CSS

              
                body {
  background-color: #141513;
  color: #efefef;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 15px;
  display: grid;
  grid-template-rows: repeat(38, 50px);
  grid-template-columns: repeat(24, 50px);
}

div {
  width: 400px;
  height: 400px;
}

p {
  text-align: justify;
  hyphens: auto;
  margin: 0;
}

.right {
  float: right;
  width: 200px;
  height: 400px;
  shape-outside: polygon(200px 400px, 200px 200px, -0.5% 50%, 0px 400px);
}

.left {
  float: left;
  width: 200px;
  height: 400px;
  shape-outside: polygon(200px 400px, 200px 200px, -0.5% 50%, 0px 400px);
}


div:nth-of-type(2) {
  grid-row: 6;
  grid-column: 6;
}

div:nth-of-type(3) {
  grid-row: 11;
  grid-column: 11;
}

div:nth-of-type(4) {
  grid-row: 16;
  grid-column: 16;
}

div:nth-of-type(5) {
  grid-row: 21;
  grid-column: 11;
}

div:nth-of-type(6) {
  grid-row: 26;
  grid-column: 6;
}

div:nth-of-type(7) {
  grid-row: 31;
  grid-column: 1;
}

              
            
!

JS

              
                
              
            
!
999px

Console