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 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.

Quick-add: + add another resource

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.

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>
<p>
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.
<p>
<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"
  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: 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;
}

            
          
!
999px
Loading ..................

Console