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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


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



                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("");
.fixed-scale {
  background-size: 100px;