Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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="section-one">
  <h2 class="section-one__title">Awesome Section - 1</h2>
  <p class="section-one__descr">Not far stuff she think the jokes. Going as by do known noise he wrote round leave. Warmly put branch people narrow see. Winding its waiting yet parlors married own feeling. Marry fruit do spite jokes an times. Whether at it unknown warrant herself
    winding if. Him same none name sake had post love. An busy feel form hand am up help. Parties it brother amongst an fortune of. Twenty behind wicket why age now itself ten.</p>
  <!-- begin Separator -->
  <div class="separator">
    <svg class="separator__svg" width="100%" height="400" viewBox="0 0 100 100" preserveAspectRatio="none" fill="#44A36F" version="1.1" xmlns="http://www.w3.org/2000/svg">
       <path d="M 100 100 V 10 L 0 100"/>
       <path d="M 30 73 L 100 18 V 10 Z" fill="#308355" stroke-width="0"/>
      </svg>
  </div>
  <!-- end Separator -->
</div>
<div class="section-two">
  <h2 class="section-two__title">Awesome Section - 2</h2>
  <p class="section-two__descr">From they fine john he give of rich he. They age and draw mrs like. Improving end distrusts may instantly was household applauded incommode. Why kept very ever home mrs. Considered sympathize ten uncommonly occasional assistance sufficient not. Letter
    of on become he tended active enable to. Vicinity relation sensible sociable surprise screened no up as.</p>
</div>
              
            
!

CSS

              
                body {
  overflow-x: hidden;
}

.section-one {
  background-color: #5FC18B;
  position: relative;
  padding: 200px 0 350px;
  .section-one__title {
    color: #fff;
    font-size: 35px;
    margin-bottom: 30px;
    text-align: center;
  }
  .section-one__descr {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
  }
}

.section-two {
  background-color: #44a36f;
  padding: 100px 0 200px;
  position: relative;
  z-index: 10;
  .section-two__title {
    color: #fff;
    font-size: 35px;
    margin-bottom: 30px;
    text-align: center;
  }
  .section-two__descr {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
  }
}

/* -------------------------------------------------------------------------
   begin Separator
 * ------------------------------------------------------------------------- */
.separator {
  bottom: -4px;
  left: 0;
  overflow: hidden;
  position: absolute;

  width: 100%;
}
/* -------------------------------------------------------------------------
   end Separator
 * ------------------------------------------------------------------------- */

/* begin Media Max-Width 767
============================================================================ */

@media screen and (max-width: 767px) {
  .section-one {
    padding: 130px 0 190px;
  }
  .separator {
    bottom: -110px;
    .separator__svg {
      left: -20%;
      position: relative;
      transform: rotate(15deg);
      width: 140%;
    }
  }
}

/* end Media Max-Width 767
============================================================================ */

              
            
!

JS

              
                
              
            
!
999px

Console