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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur facilisis ex ut ante feugiat, quis faucibus nisi ultricies. Proin at dapibus velit. Etiam quis quam quis arcu consequat vehicula gravida sit amet est. Proin ullamcorper quam nisi, quis euismod nunc volutpat non. Sed et tortor dapibus, volutpat eros a, rutrum ex. Maecenas fermentum non sem eget lacinia. Donec lacinia turpis et ultricies pulvinar. Vestibulum sed purus porta, pulvinar augue vitae, rutrum nulla. Phasellus vel mi aliquet, auctor ipsum a, molestie magna. Quisque blandit faucibus magna, eu elementum velit feugiat et. Quisque cursus dolor eu tortor placerat accumsan. Phasellus imperdiet augue non sapien auctor mollis. Aenean nec odio eu metus finibus bibendum a id risus. Vestibulum pellentesque luctus elementum.</p>

<button id="btn">BLAST TEXT</button>

<button id="btn2">RESET</button>

<div class="p">Demo by Jérémy Heleine. <a href="" target="_blank">See article</a>.</div>


                body {
  text-align: center;

button {
  font-size: 20px;
  color: black;

.p {
  margin-top: 120px;
  font-size: 13px;


                // Colors the paragraph
$(function() {
  function rand(min, max) {
    return parseInt(Math.round(min + Math.random() * (max - min)));
  $('#btn').on('click', function () {
	// Blasts the paragraph
    var words = $('p').blast({
      delimiter: 'word',
      tag: 'em'

	 // Gives a random color to every word
    words.each(function() {
      $(this).css('color', 'rgb(' + rand(0, 255) + ', ' + rand(0, 255) + ', ' + rand(0, 255) + ')');

   $('#btn2').on('click', function () {