cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

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

  A sample page for "Patterns for Your Webpage"
  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;

Loading ..................