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="px-4 pt-16 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8 bg-gray-200">
  <div class="grid gap-16 row-gap-10 mb-8 lg:grid-cols-6 ">
    <div class="md:max-w-md lg:col-span-2">
      <a href="/" aria-label="Go home" title="Company" class="inline-flex items-center">
        <img src="http://localhost/tailwind/public/img/Digitle%20SEO%20Logo.png" alt="">
      </a>
      <div class="mt-4 lg:max-w-sm">
        <p class="text-sm text-gray-800">
          Helping clients build scalable business on the web. Specialty in content development, promotion and maintenance, with an SEO focus.
        </p>
        <p class="mt-4 text-sm text-gray-800">
          We deliver scalable and measured results giving you confidence in your ROI </p>
      </div>
    </div>
    <div class="grid grid-cols-2 gap-5 row-gap-8 lg:col-span-4 md:grid-cols-4">
      <div>
        <p class="font-semibold tracking-wide text-gray-800">S.E.O.</p>
        <ul class="mt-2 space-y-2">
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">News</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">World</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Games</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">References</a>
          </li>
        </ul>
      </div>
      <div>
        <p class="font-semibold tracking-wide text-gray-800">Web Design</p>
        <ul class="mt-2 space-y-2">
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Web</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">eCommerce</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Business</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Entertainment</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Portfolio</a>
          </li>
        </ul>
      </div>
      <div>
        <p class="font-semibold tracking-wide text-gray-800">Web Development</p>
        <ul class="mt-2 space-y-2">
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Media</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Brochure</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Nonprofit</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Educational</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Projects</a>
          </li>
        </ul>
      </div>
      <div>
        <p class="font-semibold tracking-wide text-gray-800">Pay Per Click</p>
        <ul class="mt-2 space-y-2">
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Infopreneur</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Personal</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Wiki</a>
          </li>
          <li>
            <a href="/" class="text-gray-600 transition-colors duration-300 hover:text-deep-purple-accent-400">Forum</a>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <div class="flex flex-col justify-between pt-5 pb-10 border-t sm:flex-row">
    <p class="text-sm text-gray-600 p-2">
      © Copyright 2021 Digitle Ltd. All rights reserved. 
    </p>
    <p class="text-sm text-gray-600 p-2">Company Number: 12729111</p>
    <p class="text-sm text-gray-600 p-2">Digitle SEO LTD, Portland House, Belmont Business Park, Durham, Durham, United Kingdom, DH1 1TW</p>
    
    <div class="flex items-center mt-4 space-x-4 sm:mt-0 p-2">
      <a href="https://twitter.com/Digitle1" target="_blank" rel="noreferrer nofollow" aria-label="Twitter" class="text-gray-500 transition-colors duration-300 hover:text-deep-purple-accent-400">
        <svg viewBox="0 0 24 24" fill="currentColor" class="h-5">
          <path d="M24,4.6c-0.9,0.4-1.8,0.7-2.8,0.8c1-0.6,1.8-1.6,2.2-2.7c-1,0.6-2,1-3.1,1.2c-0.9-1-2.2-1.6-3.6-1.6 c-2.7,0-4.9,2.2-4.9,4.9c0,0.4,0,0.8,0.1,1.1C7.7,8.1,4.1,6.1,1.7,3.1C1.2,3.9,1,4.7,1,5.6c0,1.7,0.9,3.2,2.2,4.1 C2.4,9.7,1.6,9.5,1,9.1c0,0,0,0,0,0.1c0,2.4,1.7,4.4,3.9,4.8c-0.4,0.1-0.8,0.2-1.3,0.2c-0.3,0-0.6,0-0.9-0.1c0.6,2,2.4,3.4,4.6,3.4 c-1.7,1.3-3.8,2.1-6.1,2.1c-0.4,0-0.8,0-1.2-0.1c2.2,1.4,4.8,2.2,7.5,2.2c9.1,0,14-7.5,14-14c0-0.2,0-0.4,0-0.6 C22.5,6.4,23.3,5.5,24,4.6z"></path>
        </svg>
      </a>
      <a href="https://www.instagram.com/digitle_seos/" target="_blank" rel="noreferrer nofollow" aria-label="Instagram" class="text-gray-500 transition-colors duration-300 hover:text-deep-purple-accent-400">
        <svg viewBox="0 0 30 30" fill="currentColor" class="h-6">
          <circle cx="15" cy="15" r="4"></circle>
          <path d="M19.999,3h-10C6.14,3,3,6.141,3,10.001v10C3,23.86,6.141,27,10.001,27h10C23.86,27,27,23.859,27,19.999v-10   C27,6.14,23.859,3,19.999,3z M15,21c-3.309,0-6-2.691-6-6s2.691-6,6-6s6,2.691,6,6S18.309,21,15,21z M22,9c-0.552,0-1-0.448-1-1   c0-0.552,0.448-1,1-1s1,0.448,1,1C23,8.552,22.552,9,22,9z"></path>
        </svg>
      </a>
      <a href="https://www.facebook.com/DigitleSEO/" target="_blank" rel="noreferrer nofollow" aria-label="Facebook" class="text-gray-500 transition-colors duration-300 hover:text-deep-purple-accent-400">
        <svg viewBox="0 0 24 24" fill="currentColor" class="h-5">
          <path d="M22,0H2C0.895,0,0,0.895,0,2v20c0,1.105,0.895,2,2,2h11v-9h-3v-4h3V8.413c0-3.1,1.893-4.788,4.659-4.788 c1.325,0,2.463,0.099,2.795,0.143v3.24l-1.918,0.001c-1.504,0-1.795,0.715-1.795,1.763V11h4.44l-1,4h-3.44v9H22c1.105,0,2-0.895,2-2 V2C24,0.895,23.105,0,22,0z"></path>
        </svg>
      </a>
    </div>
  </div>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console