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></div>
  <article>
  <h1>Simple Blockquote Slickness</h1>
  <section>
    <p>Cras mattis consectetur purus sit amet fermentum. Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Aenean lacinia bibendum nulla sed consectetur. Vestibulum id ligula porta felis euismod semper. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
    <p>Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Donec id elit non mi porta gravida at eget metus. Donec sed odio dui. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper.</p>
  </section>
  <blockquote>Here is a quote or a callout of some kind. Maybe a testimonial but it should be longer than shorter. Or you can just style the type bigger to compensate.</blockquote>
  <section>
    <p>Nullam quis risus eget urna mollis ornare vel eu leo. Sed posuere consectetur est at lobortis. Curabitur blandit tempus porttitor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam porta sem malesuada magna mollis euismod. Sed posuere consectetur est at lobortis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Curabitur blandit tempus porttitor. Maecenas sed diam eget risus varius blandit sit amet non magna. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Cras mattis consectetur purus sit amet fermentum.</p>
    <p>Nullam quis risus eget urna mollis ornare vel eu leo. Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec sed odio dui. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
  </section>
</article>
              
            
!

CSS

              
                @import "compass/css3";

@import url(https://fonts.googleapis.com/css?family=Prata|Alegreya);

html,
body {
  height: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
  font-family: 'Alegreya';
  font-size: 100%;
  letter-spacing: .05em;
  color: #555444;
  background-color: #fcfcf8;
  background-image: url('http://api.thumbr.it/whitenoise-12x12.png?background=fcfcf8ff&noise=f5f5f0&density=50&opacity=100');
  background-size: 200%;
  
  div {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    box-shadow: inset 0px 0px 50vmin -10vmin #000;
  }

  article {
    padding: 5vw 15vw;
    
    h1 {
      font-family: 'Prata';
      font-size: 5vw;
  		text-shadow: 0 -.0125em .05em #eeeedd;
		letter-spacing: 0;
    }
    
    section {
		margin-top: 5rem;
      column-count: 3;
      column-gap: 2em;

      p {
        margin: 0;
        text-indent: 1em;
        font-size: 1rem;
        text-align: justify;
        
        &:first-child {
          text-indent: 0;
        }
      }
    }
      
    blockquote {

      $gap: .75em;
      
      position: relative;
      margin: 1em 0;
      padding: $gap;
      font-family: 'Prata';
      font-style: italic;
      font-size: 2rem;
  		text-shadow: 0 -.0125em .05em #eeeedd;
      
      &:before,
      &:after {
          content: ' ';
          position: absolute;
          top: 0;
          width: $gap;
          height: 100%;
          border: 1px solid #444;
      }
      
      &:before {
          left: -$gap;
          border-right: 0;
      }
      
      &:after {
          right: -$gap;
          border-left: 0;
      }
    }
  }
}

@media (max-width: 768px) {





}
              
            
!

JS

              
                
              
            
!
999px

Console