Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource

JavaScript

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

Packages

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.

Behavior

Auto Save

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

              
                <div class="container mx-auto mt-5">
  <div class="flex flex-row flex-wrap justify-around">
    <div class="basis-1/5">
      <img class="pb-3" src="http://placekitten.com/g/317/88">
      <div class="pb-3" itemscope itemtype="https://schema.org/PostalAddress">
        <span itemprop="name">Google Inc.</span><br>
        P.O. Box <span itemprop="postOfficeBoxNumber">1234</span><br>
        <span itemprop="addressLocality">Mountain View</span>,
        <span itemprop="addressRegion">CA</span><br>
        <span itemprop="postalCode">94043</span>
      </div>
      <a href="tel://555">555.555.5555</a><br>
      <a href="tel://555">555.555.5555</a>
    </div> <!-- end flex item -->
    <div class="basis-1/5">
      <h2 class="font-bold uppercase mb-3" style="color:#2638c4;">Title</h2>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
    </div> <!-- end flex item -->
    <div class="basis-1/5">
      <h2 class="font-bold uppercase mb-3" style="color:#2638c4;">Title</h2>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
    </div> <!-- end flex item -->
    <div class="basis-2/5">
      <h2 class="font-bold uppercase mb-3" style="color:#2638c4;">Title</h2>
      <div class="mb-5 h-14 clear"><a href="#"><img class="self-center w-15 h-15 rounded-full float-left px-1" src="http://placekitten.com/g/50/50"></a> <a href="#"><img class="self-center w-15 h-15 rounded-full float-left px-1" src="http://placekitten.com/g/50/50"></a> <a href="#"><img class="self-center w-15 h-15 rounded-full float-left px-1" src="http://placekitten.com/g/50/50"></a> <a href="#"><img class="self-center w-15 h-15 rounded-full float-left px-1" src="http://placekitten.com/g/50/50"></a> <a href="#"><img class="self-center w-15 h-15 rounded-full float-left px-1" src="http://placekitten.com/g/50/50"></a></div>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
      <a class="block pb-2" href="#">Lorem ipsum dolor</a>
    </div> <!-- end flex item -->
  </div>
</div> <!-- end flex row -->
<div class="flex flex-row flex-wrap text-white h-14 justify-center items-center" style="background: #2638c4;">
  link | link | Copyright
</div> <!-- end second flex row -->
</div> <!-- end container -->
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console