123

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></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>
            
          
!
            
              @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) {





}
            
          
!
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.

Console