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="content pink">
  <h1>Lorem ipsum</h1>
  <p>Quisque vitae feugiat nunc. Aenean rutrum iaculis lectus. Quisque lectus est, tristique vitae feugiat vitae, dapibus quis lacus.</p>
<div class="shapedividers_com-8266"></div>
<div class="content">
  <h2>Morbi et gravida leo</h2>
  <p>Interdum et malesuada fames ac ante ipsum primis in faucibus. Morbi id feugiat ex, ultricies volutpat diam.</p>


                .shapedividers_com-8266 {
  overflow: hidden;
  position: relative;
  height: 100px;
.shapedividers_com-8266::before {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  bottom: -0.1vw;
  left: -0.1vw;
  right: -0.1vw;
  top: -0.1vw;
  transform: scaleX(4);
  transform-origin: 100% 0;
  animation: 10s infinite alternate shape-anim-8266 linear;
  background-size: 100% 100px;
  background-position: 50% 0%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23ffd4df"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23ffd4df"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23ffd4df"/></svg>');

@media (min-width: 2100px) {
  .shapedividers_com-8266::before {
    background-size: 100% calc(2vw + 100px);

@keyframes shape-anim-8266 {
  100% {
    transform: scaleX(4) translateX(calc(100% - (100% / 4)));

body {
  background: #fffae8;
.content {
  padding: 2rem;
.pink {
  background: #ffd4df;
h1, h2 {
  font-family: 'Lobster Two', cursive;