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="rel fit">
  <div class="background grayscale subtle abs fit"></div>
  <h1 class="padded-centered">The Infinite van Gogh Patterns</h1>
  <p>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi molestie elementum sapien et placerat. Etiam et sapien tempor nisi rutrum blandit ac at arcu. Nullam sollicitudin magna viverra metus dictum posuere. Pellentesque sed lorem quis lectus porttitor ullamcorper. Donec non nulla quis ligula convallis volutpat rhoncus eget tellus. Curabitur euismod mi vel euismod porttitor. Integer at tempus nulla. Sed et finibus purus. Maecenas tortor nunc, malesuada semper convallis id, condimentum non odio. Proin nec aliquet tortor.
  <p>
  Aliquam elementum tempus ipsum, ut hendrerit mi interdum eu. Donec viverra orci orci, condimentum tincidunt nisl rutrum ac. Sed in est dui. Proin turpis lorem, pharetra vitae urna ut, tincidunt aliquam velit. Nullam vulputate lorem sit amet est aliquet laoreet. Ut mollis orci at suscipit varius. Aenean arcu neque, porta eu sem ut, mollis venenatis urna. Nam cursus, elit non laoreet eleifend, nulla ipsum posuere ligula, congue feugiat elit lacus vel diam. Maecenas hendrerit ante vitae urna porttitor fringilla.
  <p>
  Nunc eu tincidunt ligula, id congue eros. Duis imperdiet sollicitudin purus sit amet congue. Etiam feugiat nibh orci, vel viverra ligula vulputate sed. Morbi aliquet maximus turpis, viverra elementum mi pharetra tincidunt. Sed pulvinar a neque a tempus. Aenean consectetur interdum finibus. Duis tempor nisl.
  <p class="padded-centered">
    Background pattern by <a href="http://artlandia.com/share/i/17b9db842806ba9">Artlandia_Demos</a>.
  </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/
	-->

            
          
!
            
              body {
  margin: 0;
}
.rel {
  position: relative;
}
.abs {
  position: absolute;
}
.fit {
  width: 100%;
  height: 100%;
}
.padded-centered {
  text-align: center;
  padding-top: 2em;
}
.background {
  background-image: url("http://artlandia.com/share/tile/158087e49c4ae86");
  background-repeat: repeat;
  background-size: 50%;
}
.grayscale {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
.subtle {
  opacity: .2;
}
p {
  margin: 1em 10% 1em;
}

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

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

Console