Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="support-css-shapes"></div>

<div class="container clearfix">
  <div class="shape"></div>
  <blockquote>
    <p><strong>Parrots</strong>, also known as psittacines are birds of the roughly 393 species in 92 genera that make up the order Psittaciformes, found in most tropical and subtropical regions. The order is subdivided into three superfamilies: the Psittacoidea
      ("true" parrots), the Cacatuoidea (cockatoos), and the Strigopoidea (New Zealand parrots). Parrots have a generally pantropical distribution with several species inhabiting temperate regions in the Southern Hemisphere, as well. The greatest diversity
      of parrots is in South America and Australasia.</p>
  </blockquote>
</div>
              
            
!

CSS

              
                .clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}


/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

body {
  font-family: "Helvetica Neue", Helvetica, arial, freesans, clean, sans-serif;
  color: #66595c;
  background-color: #faf6ec;
}


/* Start the styles  */

blockquote {
  font-family: "Lucida Bright", Georgia, serif;
  font-style: italic;
}
blockquote {
  padding-top: 40px;
}
blockquote p {
  line-height: 1.6;
  color: #000;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.32);
}

.container {
  width: 600px;
  height: 900px;
  margin: 30px auto;
  background-image: url('https://lourfield.github.io/advanced-css-shapes/img/parrot.jpg');
  background-repeat: no-repeat;
}

.shape {
  width: 600px;
  height: 900px;
  float: left;
  shape-image-threshold: 0.5;
  shape-outside: url('https://lourfield.github.io/advanced-css-shapes/img/parrot-shape.png');
  shape-margin: 15px;
}
              
            
!

JS

              
                
              
            
!
999px

Console