Pen Settings



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


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


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.


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.


                <div class="container">
  <div class="left position"></div>
  <div class="right">
    <h1>Sidebar with Pattern</h1>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam odio nulla, hendrerit eget justo sit amet, malesuada luctus nulla. Phasellus nec venenatis risus. Duis at turpis quis purus rutrum vulputate. Nulla condimentum eros eget eros malesuada, a maximus orci ullamcorper. Sed consectetur sem nec nulla congue posuere. Nulla facilisi. Maecenas tempus neque at diam pulvinar, eu finibus velit maximus.
    Quisque ut velit eu ex aliquam dapibus. Nunc in ante nisl. Vivamus vitae velit vitae ligula volutpat suscipit. Vivamus dolor leo, feugiat in congue nec, dapibus ac odio. Nulla in mi ut urna consectetur varius hendrerit quis est. Phasellus dui ante, rhoncus ac sem non, tristique commodo elit. Nam aliquam purus sed leo luctus aliquam. Quisque mi justo, fermentum consectetur vulputate sed, hendrerit sit amet magna.
    Phasellus gravida interdum gravida. Proin lobortis maximus volutpat. Morbi in ante id orci fringilla eleifend non at libero. Vivamus rhoncus suscipit turpis ut molestie. In ac mauris erat. Nunc suscipit pharetra erat, ultrices tincidunt eros. Integer tempus vehicula ligula, id aliquet erat aliquet a. Ut aliquam, elit at ultrices gravida, nunc nulla blandit dui, eget fermentum velit risus eget turpis. Curabitur varius vel lorem eu pellentesque. Phasellus purus felis, hendrerit mattis massa in, facilisis viverra leo. Aenean tristique tortor id mollis interdum. Nulla tortor nulla, dapibus eget scelerisque in, sodales vitae magna. Praesent vitae odio vitae nisi luctus luctus ut non libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum in arcu velit.
    Nam in risus tempus, euismod nunc at, sollicitudin purus. In eu dapibus lacus. Vestibulum rhoncus, nunc et efficitur dapibus, nibh ipsum dignissim nulla, vel euismod metus mi sit amet arcu. Phasellus id ligula sit amet neque congue placerat. Cras pretium ut lacus ut fermentum. In hac habitasse platea dictumst. Sed id est vitae sem scelerisque dictum.
    Background pattern from <a href="">The Infinite van Gogh</a> series by Artlandia_Demos.

  A sample page for "Patterns for Your Webpage"
  Licensed under CC BY 4.0.



                .container {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
.left {
  background-image: url("");
  background-repeat: repeat;
  width: 30%;
.position {
  background-position: -120px 20px;
.right {
  width: 70%;
  padding-left: 20px;