cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <!--Essa pen exemplifica o que foi mostrado no tutorial hospedado em
 http://maujor.com/tutorial/borda-serrilhada-com-css.php -->
<blockquote class="serrilhado-laterais">
  <p>
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi eleifend, purus quis laoreet faucibus, ante augue malesuada mi, id rhoncus augue lorem eget elit. Ut sollicitudin sodales purus. Phasellus libero felis, blandit nec, commodo ut, imperdiet ut, nibh. Suspendisse potenti. Donec ullamcorper cursus dolor. Duis vitae ipsum. Maecenas dapibus hendrerit diam.
  </p>
</blockquote>
            
          
!
            
              body {
  background: black;
}

blockquote {
  background: white;
  min-width: 320px;
  max-width: 100px;
  min-height: 200px;
  margin: 0 auto;
  position: relative;
  padding: 10px 5px;
  text-align: center;
}

.serrilhado-laterais:after,
.serrilhado-laterais:before {
  content: "";
  display: block;
  width: 29px;
  height: auto;
  top: 0;
  bottom: 0;
  position: absolute;
  background-repeat: repeat-y;
  background-position: 0 50%, 0 50%;
  background-size: 25px 20px, 25px 20px;
}

.serrilhado-laterais:after {
  left: -25px;
  background-image: 
    linear-gradient(45deg, transparent 70%, white 75%), 
    linear-gradient(135deg, transparent 70%, white 75%);

}

.serrilhado-laterais:before {
  right: -29px;
  background-image: 
    linear-gradient(-45deg, transparent 70%, white 75%), 
    linear-gradient(-135deg, transparent 70%, white 75%);
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console