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.

+ 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="support-css-shapes"></div>

<div class="wrapper clearfix">
  <div class="shape pentagon"></div>
  <blockquote><p>In geometry, a pentagon is any five-sided polygon or 5-gon. The sum of the internal angles in a simple pentagon is 540°. A pentagon may be simple or self-intersecting. A self-intersecting regular pentagon (or star pentagon) is called a pentagram.</p><cite><a href=""></a>Wikipedia</cite></blockquote>


.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  */
p {
  line-height: 1.68;
.wrapper {
  width: 100%;
  max-width: 930px;
  margin: 30px auto 0;
.shape {
    float: left;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 30px;
    width: 265px;
    height: 265px;
    shape-margin: 20px;
.pentagon {
    background-image: url('');
    shape-outside: polygon(32px 126px, 163px 32px, 293px 127px, 244px 282px, 82px 281px);
p {
  margin-left: 0;
  font-size: 1.2em;
  line-height: 1.48;
  color: #7a6120;
  font-family: "Lucida Bright", Georgia, serif;
  font-style: italic;
cite {
    color: #b79030;
    font-weight: bold;