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.

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

              
                <figure class="snip1291">
  <blockquote>If we wanted more leisure, we'd invent machines that do things less efficiently.</blockquote>
  <div class="author"><img src="http://www.gravatar.com/avatar/" alt="sq-sample7"/>
    <h5>Indigo Violet</h5><span>LittleSnippets</span>
  </div>
</figure>
<figure class="snip1291 hover">
  <blockquote>Weekends don't count unless you spend them doing something pointless.</blockquote>
  <div class="author"><img src="http://www.gravatar.com/avatar/" alt="sq-sample10"/>
    <h5>Fleece Marigold</h5><span>LittleSnippets</span>
  </div>
</figure>
<figure class="snip1291">
  <blockquote>It's great to have a friend who appreciates an earnest discussion of ideas.</blockquote>
  <div class="author"><img src="http://www.gravatar.com/avatar/" alt="sq-sample12"/>
    <h5>Dylan Meringue</h5><span>LittleSnippets</span>
  </div>
</figure>
              
            
!

CSS

              
                @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);
@import url(https://fonts.googleapis.com/css?family=Lora);
figure.snip1291 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #333;
  text-align: center;
  background-color: #fafafa;
}
figure.snip1291 blockquote {
  font-family: 'Lora', Arial, sans-serif;
  margin: 0;
  padding: 50px 40px 0;
  font-weight: 500;
  line-height: 1.6em;
  font-style: italic;
}
figure.snip1291 .author {
  margin: 20px 0 40px;
  width: 100%;
}
figure.snip1291 .author img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 5px;
}
figure.snip1291 .author h5,
figure.snip1291 .author span {
  opacity: 0.8;
  margin: 0;
}
figure.snip1291 .author h5 {
  text-transform: uppercase;
  font-weight: 800;
}
figure.snip1291 .author span {
  font-size: 0.8em;
}
figure.snip1291:before,
figure.snip1291:after {
  font-family: 'FontAwesome';
  content: "\201C";
  position: absolute;
  font-size: 150px;
  line-height: 1em;
  color: #212121;
  font-style: normal;
}
figure.snip1291:before {
  top: -30px;
  left: 20px;
}
figure.snip1291:after {
  content: "\201D";
  right: 20px;
  bottom: -88px;
}
/* Demo purposes only */
body {
  background-color: #212121;
}

              
            
!

JS

              
                
              
            
!
999px

Console