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


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


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.


              This is the original text and inside this text there is a quote or excerpt that we'd like to use as our pull-quote, this text will be duplicated <span class="pq left">using a little JQuery and styled differently</span> to help it stand out from the rest of the surrounding text. Because I feel pull-quotes are slightly different in the definition from blockquotes and asides I've chosen to use the simple span tag in order to target the selected content using Jquery.


              .pulledquote {
    font-size: 1.3em;
    line-height: inherit;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    padding: 1em 0 1em 0;
    border-top: dotted 1px #000;
    border-bottom: dotted 1px #000;
    width: 30%;
    text-align: center;
.pulledquote.left {
    margin: 1em 4% 1em 0;
    float: left;
.pulledquote.right {
    margin: 1em 0 1em 4%;
    float: right;
.pulledquote:before {
    content: open-quote;
    margin-right: 0.2em;
.pulledquote:after {
    content: close-quote;
    margin-left: 0.2em;


              $(document).ready(function() {
	// pull quotes left
	$('span.pq.left').each(function() {
		var quote = $(this).clone();
		quote.removeClass('pq left');
		quote.addClass('pulledquote left');
	}); // end each
	// pull quotes right
	$('span.pq.right').each(function() {
		var quote = $(this).clone();
		quote.removeClass('pq right');
		quote.addClass('pulledquote right');
	}); // end each
}); // end ready