css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <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.
    <p>
    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.
    <p>
    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.
    <p>
    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.
    <p>
    Background pattern from <a href="http://artlandia.com/share/i/1580defab2e6eea">The Infinite van Gogh</a> series by Artlandia_Demos.
  </div>
</div>

<!--
  A sample page for "Patterns for Your Webpage"
  http://blog.artlandia.com/patterns-for-your-webpage-or-where-do-patterns-go-part-2-web-design
  Licensed under CC BY 4.0. http://creativecommons.org/licenses/by/4.0/
-->

            
          
!
            
              .container {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
}
.left {
  background-image: url("http://artlandia.com/share/tile/1580defab2e6eea");
  background-repeat: repeat;
  width: 30%;
}
.position {
  background-position: -120px 20px;
}
.right {
  width: 70%;
  padding-left: 20px;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console