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 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 class="container">
  <div class="row">
  <div class="item">
    <div class="inner-text">
      ITEM 01
    </div>
    </div>
      <div class="item">
        Lorem, ipsum dolor sit amet consectetur adipisicing elit. A quibusdam fugit corporis reprehenderit repellat minima aut recusandae aperiam vitae itaque cumque, blanditiis eos libero laudantium sapiente inventore quos! Dolore sapiente, eaque quibusdam minima modi eum repudiandae omnis fugiat! Placeat nulla quam, numquam atque enim cum soluta nesciunt neque ipsa dolorum dignissimos voluptatem perferendis voluptatibus nemo temporibus earum ex accusamus? Saepe ullam provident perspiciatis tempore earum, nihil error iusto illo alias minus natus ad nulla cum iure, maxime beatae? Adipisci ducimus ut cumque nisi eveniet debitis? Necessitatibus quisquam optio iure, recusandae aut iusto debitis ducimus numquam repellat quo soluta doloribus obcaecati?
    </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                .container {
  max-width:1200px;
}

.row {
  display: flex;
  
}

.item {
  flex:1;
  height:400px;
  position: relative;
}

.inner-text {
  position: absolute;
  transform:rotate(-90deg);
  top:50%;
  right: 0;
  font-size:44px;
}
.item:first-child {
  background: url(https://images.unsplash.com/photo-1584312612848-ee0a2be49be5?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ);
}
              
            
!

JS

              
                
              
            
!
999px

Console