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="pattern fixed-scale circle"></div>
<h1>Wrapping Text around a Shape Filled with a Pattern</h1>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet gravida sapien. Morbi massa nunc, iaculis eu feugiat eget, tempus eget nibh. Vivamus mi dolor, cursus in convallis sed, venenatis sit amet magna. Nullam commodo turpis eget purus hendrerit volutpat. Proin in finibus tellus. Ut congue volutpat lectus, at feugiat tortor feugiat sit amet. Nullam in porta diam. Sed mattis lorem eu faucibus ullamcorper. Nulla aliquet pharetra tortor, tincidunt malesuada metus hendrerit ut.
<a href="http://artlandia.com/share/i/154669bea8015b3">Background pattern</a> from a Carnaval en Samana photo by Starus.

  A sample page for "Patterns for Your Webpage"
  Licensed under CC BY 4.0. http://creativecommons.org/licenses/by/4.0/

              body { 
  margin: 1em; 
p { 
  line-height: 1.5; 
.circle { 
  min-width: 150px;
  width: 50%;
  height: 500px;
  float: left;
  margin: 0 10% 10% 0; 
  border-radius: 50%;
  -webkit-shape-outside: ellipse();
  shape-outside: ellipse();
.pattern {
  background-image: url("http://artlandia.com/share/tile/154669bea8015b3");
.fixed-scale {
  background-size: 100px;

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