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.


<script src=""></script>

<nav class="flockler-embed-nav">
  <button class="active" onclick="renderFlocklerEmbed('', this)">
    Show all

  <button onclick="renderFlocklerEmbed('facebook', this)">
    Show Facebook

  <button onclick="renderFlocklerEmbed('instagram', this)">
    Show Instagram

  <button onclick="renderFlocklerEmbed('twitter', this)">
    Show Twitter

<div id="flockler-embed-170861c6dd60038550eb9525afe88ce5"></div>


                body {
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;

.flockler-embed-nav {
  margin-bottom: 40px;

.flockler-embed-nav button {
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.1), 0 4px 20px rgba(0,0,0,.05);
  font-size: 14px;
  font-weight: 600;
  padding: 1em 2em;
} {
  background: #0070dd; 
  color: #fff;
  cursor: pointer;


                (function () {
  var interval;
  var embed;
  var embedUuid = '170861c6dd60038550eb9525afe88ce5';

  // Renders the embed with given content type and marks the navButton active
  window.renderFlocklerEmbed = function (contentType, navButton) {
    var config = window.flcklr.EmbedConfigs[embedUuid];
    if (contentType.length) {
      // Note: Object.assign is not supported on IE11
      config = Object.assign({}, config, { only: contentType });   
    embed = window.flcklr.Embeds.create(config);
    if (navButton) {
  // Destroys and empties the container for the current embed
  window.destroyFlocklerEmbed = function () {
    if (embed) {
      embed = null;
  // Let’s wait until all JS assets have been loaded
  interval = window.setInterval(function() {
    if (window.flcklr && window.flcklr.Embeds) {
  }, 200);