css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="page-wrap">
  
  
  <section class="blue
                  pl-area pl-area-sortable area-tag pl-contrast section-pl_area ">
    <div class="pl-area-pad fix"> 
      <div class="pl-area-wrap" style="padding-top: 80px; padding-bottom: 80px;">
        <div class="pl-content nested-section-area">
          <div class="pl-inner area-region pl-sortable-area editor-row">
            <div class="row grid-row">
              <section class="pl-section span12 pl-bg-cover section-icallout">
                <div class="pl-section-pad fix">    
                  <div class="icallout-container format-inline">
                    <h2 class="icallout-head">Try out our amazing doohicky today! </h2>
                    <p>There really isn't anything like it in the universe. You'll never find anything even close. Go ahead and try if you want. Better yet, do yourself the favor of not wasting your precious time, and just buy ours.</p>
                    <a class="icallout-action btn btn-warning btn-large" href="">Learn More <i class="icon icon-angle-right"></i></a>
                  </div>
                </div>
              </section>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

<section class="divider-section">
  <svg id="bigHalfCircle" class="divider--half-circle" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 100" preserveAspectRatio="none">
    <path d="M0 100 C40 0 60 0 100 100 Z"></path>
  </svg>
</div>
  
  <section class="grey
                  pl-area pl-area-sortable area-tag pl-contrast section-pl_area">
    <div class="pl-area-pad fix"> 
      <div class="pl-area-wrap" style="padding-top: 80px; padding-bottom: 80px;">
        <div class="pl-content nested-section-area">
          <div class="pl-inner area-region pl-sortable-area editor-row">
            <div class="row grid-row">
              <section class="pl-section span12 pl-bg-cover section-icallout">
                <div class="pl-section-pad fix">    
                  <div class="icallout-container format-inline">
                    <h2 class="icallout-head">Try out our amazing doohicky today! </h2>
                    <p>There really isn't anything like it in the universe. You'll never find anything even close. Go ahead and try if you want. Better yet, do yourself the favor of not wasting your precious time, and just buy ours.</p>
                    <a class="icallout-action btn btn-warning btn-large" href="">Learn More <i class="icon icon-angle-right"></i></a>
                  </div>
                </div>
              </section>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
  
  
  <section class="dms-divider dms-divider-triangles
                  dms-divider-top
                  pl-area pl-area-sortable area-tag pl-contrast section-pl_area blue divider">
    <div class="pl-area-pad fix"> 
      <div class="pl-area-wrap" style="padding-top: 80px; padding-bottom: 80px;">
        <div class="pl-content nested-section-area">
          <div class="pl-inner area-region pl-sortable-area editor-row">
            <div class="row grid-row">
              <section class="pl-section span12 pl-bg-cover section-icallout">
                <div class="pl-section-pad fix">    
                  <div class="icallout-container format-inline">
                    <h2 class="icallout-head">Try out our amazing doohicky today! </h2>
                    <p>There really isn't anything like it in the universe. You'll never find anything even close. Go ahead and try if you want. Better yet, do yourself the favor of not wasting your precious time, and just buy ours.</p>
                    <a class="icallout-action btn btn-warning btn-large" href="">Learn More <i class="icon icon-angle-right"></i></a>
                  </div>
                </div>
              </section>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
</div>
  
<svg id="slit" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 100" preserveAspectRatio="none">
				<path id="slitPath2" d="M50 100 C49 80 47 0 40 0 L47 0 Z"></path>
				<path id="slitPath3" d="M50 100 C51 80 53 0 60 0 L53 0 Z"></path>
				<path id="slitPath1" d="M47 0 L50 100 L53 0 Z"></path>
			</svg>
  
<section class="pinstripe
                pl-area pl-area-sortable area-tag pl-contrast section-pl_area">
  <div class="pl-area-pad fix"> 
    <div class="pl-area-wrap" style="padding-top: 80px; padding-bottom: 80px;">
      <div class="pl-content nested-section-area">
        <div class="pl-inner area-region pl-sortable-area editor-row">
          <div class="row grid-row">
            <section class="pl-section span12 pl-bg-cover section-icallout">
              <div class="pl-section-pad fix">    
                <div class="icallout-container format-inline">
                  <h2 class="icallout-head">Try out our amazing doohicky today! </h2>
                  <p>There really isn't anything like it in the universe. You'll never find anything even close. Go ahead and try if you want. Better yet, do yourself the favor of not wasting your precious time, and just buy ours.</p>
                  <a class="icallout-action btn btn-warning btn-large" href="">Learn More <i class="icon icon-angle-right"></i></a>
                </div>
              </div>
            </section>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

  <section class="pl-area pl-area-sortable area-tag pl-contrast section-pl_area blue">
    <div class="dms-divider--arrow dms-divider--bottom">
      <div class="dms-divider--arrow-left" style="border-bottom-color: #333;"></div>
      <div class="dms-divider--arrow-right" style="border-bottom-color: #333;"></div>
    </div>
    <div class="pl-area-pad fix"> 
      <div class="pl-area-wrap" style="padding-top: 80px; padding-bottom: 80px;">
        <div class="pl-content nested-section-area">
          <div class="pl-inner area-region pl-sortable-area editor-row">
            <div class="row grid-row">
              <section class="pl-section span12 pl-bg-cover section-icallout">
                <div class="pl-section-pad fix">    
                  <div class="icallout-container format-inline">
                    <h2 class="icallout-head">Try out our amazing doohicky today! </h2>
                    <p>There really isn't anything like it in the universe. You'll never find anything even close. Go ahead and try if you want. Better yet, do yourself the favor of not wasting your precious time, and just buy ours.</p>
                    <a class="icallout-action btn btn-warning btn-large" href="">Learn More <i class="icon icon-angle-right"></i></a>
                  </div>
                </div>
              </section>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
</div>
  

  
<section class="grey
                pl-area pl-area-sortable area-tag pl-contrast section-pl_area">
  
  <div class="pl-area-pad fix"> 
    <div class="pl-area-wrap" style="padding-top: 80px; padding-bottom: 80px;">
      <div class="pl-content nested-section-area">
        <div class="pl-inner area-region pl-sortable-area editor-row">
          <div class="row grid-row">
            <section class="pl-section span12 pl-bg-cover section-icallout">
              <div class="pl-section-pad fix">    
                <div class="icallout-container format-inline">
                  <h2 class="icallout-head">Try out our amazing doohicky today! </h2>
                  <p>There really isn't anything like it in the universe. You'll never find anything even close. Go ahead and try if you want. Better yet, do yourself the favor of not wasting your precious time, and just buy ours.</p>
                  <a class="icallout-action btn btn-warning btn-large" href="">Learn More <i class="icon icon-angle-right"></i></a>
                </div>
              </div>
            </section>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);

@blue: #048a91;
@grey: #333;

section.pl-area{
  color: white;
  &.green{background: #16a086}
  &.blue{background: @blue}
  &.grey{background: @grey;}
  &.lightgrey{background: #ccc;}
  &.pinstripe{
    background: url(http://assets.roadsidemultimedia.com/images/subtle-patterns/pinstripe.png) #ccc;
  color: @blue;
    a.btn{
      border-color: @blue;
      color: @blue;
    }
  }
  
  
}

.pl-area[class*="divider"]{
  position: relative;
  &:before {
    position: absolute;
    content: '';
    pointer-events: none;
    display: block;
  }
}

@triangle-size: 30px;
// Triangles
.dms-divider-triangles{
  /*overflow: hidden;*/
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  &:before{
    left: 50%;
    width: @triangle-size * 2;
    height: @triangle-size * 2;
    -webkit-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    
    
/*     background: rgba(255,255,255,.5); */
    background: @blue;
  }
  &.dms-divider-bottom:before{
    bottom: -@triangle-size;
//     background: inherit;
    z-index: 10;
  }
  &.dms-divider-top:before{
   top: -@triangle-size;
   box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
/*    box-shadow: inset -10px -10px 10px -10px rgba(0,0,0,.4); */
  }
}



html{
  font-size: 10px;
}
body{
  font-family: "open sans";
  line-height: 1.25;
  font-size: 16px;
}
.pl-area-wrap{
  text-align: center;
}
.page-wrap {
  overflow: hidden;
  /* we don't want the pseudo-elements sticking out */
  /* Especially dividers that are skewed */
  
  svg {
    display: block;
  }
}
.pl-area{
  p, h2{
    margin-bottom: 1em;
  }
}
h2{
  font-size: 3em;
  font-family: "Open Sans Condensed";
}
a.btn{
  padding: 10px;
  color: white;
  display: inline-block;
  line-height: 1em;
  text-decoration: none;
  border-radius: 2px;
  border: 3px solid rgba(255,255,255,0.6);
  &:hover{
    border: 3px solid rgba(255,255,255,1);
    background: rgba(255,255,255,0.1);
  }
 }

.divider-section{
  position: relative;
/*   background: rgba(255, 122, 0, .2); */
  border: solid 5px rgba(255, 122, 0, .5);
  //top: 20px;
  margin-top: -200px;
  //padding-top: 100px;
}
.divider--half-circle{
  border: solid 5px rgba(0, 255, 0, .5);
  
  position: relative;
  padding-top: 50px;
  path{
    fill: rgba(255,255,255,.2);
    box-shadow: 0 5px 5px 10px #fff;
  }
}
#curveUpColor, #curveDownColor {
  position: relative;
  margin-top: -100px;
  path{
    fill:@grey;
    stroke: @grey
  }
}
/* Alternative slit with inner shadow */
#slit{
  position: relative;
  bottom-top: -100px;
  path{
    position: relative;
    top: 100px;
  }
  #slitPath1 {
    fill: @blue;
    stroke: red;
    stroke-width: 0;
  }

  #slitPath2, #slitPath3 {
    fill: saturate(lighten(@blue, 20%), -50%);
  }
}
#curveDownColor{
  path{
    fill:@grey;
    stroke: @grey
  }
}

#slit + .pl-area{
  margin-top: -120px;
  padding-top: 40px;
}
.pl-area{
  position: relative;
}

.pl-area .dms-divider--arrow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3rem;
    margin-top: -3rem;
    z-index: 4;
    overflow: hidden
}
.pl-area .dms-divider--arrow .dms-divider--arrow-left,
.pl-area .dms-divider--arrow .dms-divider--arrow-right {
    content: '';
    position: absolute;
    bottom: 0;
    display: block;
    height: 0;
    width: 48%;
    border: 3rem solid transparent;
    border-bottom-color: #fff;
    border-top-width: 0
}

.pl-area .dms-divider--arrow .dms-divider--arrow-left {
    border-left-width: 0;
    border-right-width: 3rem;
    left: 0
}

.pl-area .dms-divider--arrow .dms-divider--arrow-right {
    border-right-width: 0;
    border-left-width: 3rem;
    right: 0
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console