Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <div class="content">
  <h1>Pseudo-elements ::before and ::after</h1>
  <h2>with <span>open-quote</span> and <span>close-quote</span></h2>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Asperiores doloribus tenetur commodi est rem illo dolore, iusto quia ut cum, in id modi! Distinctio, officia quis sint atque ipsum et.</p>
  <p>Perferendis necessitatibus consectetur voluptatem minus culpa quibusdam, deserunt doloribus, fugit architecto vitae quas fugiat corporis praesentium numquam dignissimos commodi maxime vero accusantium aperiam modi explicabo eaque! Accusantium dolores iusto velit?</p>
   <blockquote>Lorem ipsum dolor sit amet consectetur adipisicing elit. Vel deserunt animi alias in id consectetur libero veritatis enim accusamus quidem. Minus voluptates possimus, magnam culpa accusantium distinctio tempora dolores labore.
  </blockquote>
  <p>Pariatur sed vero voluptatum eveniet quo veritatis reprehenderit quasi deleniti, aperiam quis cum nemo suscipit, obcaecati corporis nihil, illum dolore reiciendis vel. Numquam, eligendi modi? Ut porro ipsam vero accusamus.</p>
   <h1>Pseudo-elements ::before and ::after</h1>
  <h2>with <span>no-open-quote</span> and <span>no-close-quote</span></h2>
  <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Vitae consectetur velit aliquid obcaecati optio in facilis recusandae aperiam placeat? <q>Iusto facere hic consectetur iure optio, blanditiis, neque quo animi ipsum et minus magnam soluta inventore vel quidem fugiat. </q>Repellendus, eos distinctio ad repudiandae perspiciatis nesciunt.</p>
  <p>Quia, sint quaerat natus ea soluta ipsum molestias temporibus eum. <q class="no-quots">Itaque fugit accusantium possimus eius hic corrupti architecto rerum sunt cum aliquam voluptates expedita velit sapiente.</q> Rerum quo adipisci quos eaque rem aliquid asperiores nobis fuga amet, eos culpa, non repellendus repudiandae, dignissimos sed. Excepturi!</p>
</div>
            
          
!

CSS

            
              @import url('https://fonts.googleapis.com/css?family=Montserrat');
*, *:before, *:after {box-sizing: border-box;}
body {
  font-family: 'Montserrat', sans-serif;
}
.content {
  width: 90%;
  margin: 20px auto;
}
span {
  color: #57f;
}
blockquote {
  background-color: #f2f2f2;
  padding: 10px 15px;
  line-height: 1.5;
  box-shadow: 4px 4px #57f; 
}

blockquote:before, blockquote:after {
  font-size: 1.5em;
  font-weight: bold;
  color: #57f;
}
blockquote:before {
    content: open-quote;
}
blockquote:after {
    content: close-quote;
}
q {
  display:block;
  margin: 7px;
  color: #f40;
  font-weight: bold;
}
q.no-quots:before {
  content: no-open-quote;
}
q.no-quots:before {
  content: no-close-quote;
}
            
          
!

JS

            
              
            
          
!
999px

Console