Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <header class="flex flex-col justify-center h-screen bg-fixed bg-center bg-cover bg-no-repeat" style=" background-image:linear-gradient(rgba(135, 80, 156, 0.9), rgba(135, 80, 156, 0.9)), url(https://musicapp.bleext.com/storage/users/14/posts/69/php7CGTMq.jpg)">
  <h1 class="ml-24 text-white text-6xl tracking-tight font-serif leading-none">Welcome Home</h1>
  <p class="mt-4 mx-24 text-xl text-white font-sans text-opacity-75">Connect with people and find new friends! Join our community<br> of professionals around the world.</p>
  <p class="mx-24 mt-8">
    <a class="px-4 py-2 border-2 border-white rounded text-white text-lg hover:bg-white hover:text-purple-700" href="#">Sign up</a>
  </p>
</header>
<div class="w-3/4 mx-auto py-8">
<p class="mb-4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget eros nulla. Donec dignissim ultrices consequat. Aliquam arcu eros, suscipit sed sodales vel, lacinia a tellus. Suspendisse ac condimentum ligula. Nulla non viverra nunc. Ut sed purus id nisi dapibus hendrerit. Praesent interdum odio quis risus mattis, in commodo leo molestie. Pellentesque eu molestie odio. Suspendisse sodales hendrerit libero, a egestas arcu rhoncus eget.</p>
<p class="mb-4">Nam volutpat diam mi, sed pellentesque purus ultrices non. Praesent erat tellus, fermentum sit amet sollicitudin at, viverra commodo sem. Praesent faucibus felis at felis egestas, sed cursus neque tincidunt. Nulla facilisi. Vivamus auctor massa odio. Fusce id orci varius, commodo felis et, aliquam ante. Vivamus aliquam aliquet velit, at mattis odio euismod id. Proin at nulla sed leo sollicitudin tincidunt. Duis eget interdum ex. Fusce diam neque, ullamcorper sed lacus sit amet, dapibus accumsan nibh. Sed luctus egestas scelerisque. Ut bibendum mattis nisi, sit amet blandit metus rhoncus ac. Morbi eleifend gravida erat. Aenean porta rhoncus purus vitae egestas.</p>
  <p class="mb-4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget eros nulla. Donec dignissim ultrices consequat. Aliquam arcu eros, suscipit sed sodales vel, lacinia a tellus. Suspendisse ac condimentum ligula. Nulla non viverra nunc. Ut sed purus id nisi dapibus hendrerit. Praesent interdum odio quis risus mattis, in commodo leo molestie. Pellentesque eu molestie odio. Suspendisse sodales hendrerit libero, a egestas arcu rhoncus eget.</p>
<p class="mb-4">Nam volutpat diam mi, sed pellentesque purus ultrices non. Praesent erat tellus, fermentum sit amet sollicitudin at, viverra commodo sem. Praesent faucibus felis at felis egestas, sed cursus neque tincidunt. Nulla facilisi. Vivamus auctor massa odio. Fusce id orci varius, commodo felis et, aliquam ante. Vivamus aliquam aliquet velit, at mattis odio euismod id. Proin at nulla sed leo sollicitudin tincidunt. Duis eget interdum ex. Fusce diam neque, ullamcorper sed lacus sit amet, dapibus accumsan nibh. Sed luctus egestas scelerisque. Ut bibendum mattis nisi, sit amet blandit metus rhoncus ac. Morbi eleifend gravida erat. Aenean porta rhoncus purus vitae egestas.</p>
  <p class="mb-4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget eros nulla. Donec dignissim ultrices consequat. Aliquam arcu eros, suscipit sed sodales vel, lacinia a tellus. Suspendisse ac condimentum ligula. Nulla non viverra nunc. Ut sed purus id nisi dapibus hendrerit. Praesent interdum odio quis risus mattis, in commodo leo molestie. Pellentesque eu molestie odio. Suspendisse sodales hendrerit libero, a egestas arcu rhoncus eget.</p>
<p class="mb-4">Nam volutpat diam mi, sed pellentesque purus ultrices non. Praesent erat tellus, fermentum sit amet sollicitudin at, viverra commodo sem. Praesent faucibus felis at felis egestas, sed cursus neque tincidunt. Nulla facilisi. Vivamus auctor massa odio. Fusce id orci varius, commodo felis et, aliquam ante. Vivamus aliquam aliquet velit, at mattis odio euismod id. Proin at nulla sed leo sollicitudin tincidunt. Duis eget interdum ex. Fusce diam neque, ullamcorper sed lacus sit amet, dapibus accumsan nibh. Sed luctus egestas scelerisque. Ut bibendum mattis nisi, sit amet blandit metus rhoncus ac. Morbi eleifend gravida erat. Aenean porta rhoncus purus vitae egestas.</p>
  <p class="mb-4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget eros nulla. Donec dignissim ultrices consequat. Aliquam arcu eros, suscipit sed sodales vel, lacinia a tellus. Suspendisse ac condimentum ligula. Nulla non viverra nunc. Ut sed purus id nisi dapibus hendrerit. Praesent interdum odio quis risus mattis, in commodo leo molestie. Pellentesque eu molestie odio. Suspendisse sodales hendrerit libero, a egestas arcu rhoncus eget.</p>
<p class="mb-4">Nam volutpat diam mi, sed pellentesque purus ultrices non. Praesent erat tellus, fermentum sit amet sollicitudin at, viverra commodo sem. Praesent faucibus felis at felis egestas, sed cursus neque tincidunt. Nulla facilisi. Vivamus auctor massa odio. Fusce id orci varius, commodo felis et, aliquam ante. Vivamus aliquam aliquet velit, at mattis odio euismod id. Proin at nulla sed leo sollicitudin tincidunt. Duis eget interdum ex. Fusce diam neque, ullamcorper sed lacus sit amet, dapibus accumsan nibh. Sed luctus egestas scelerisque. Ut bibendum mattis nisi, sit amet blandit metus rhoncus ac. Morbi eleifend gravida erat. Aenean porta rhoncus purus vitae egestas.</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
<p>Something here</p>
</div>
              
            
!

CSS

              
                

              
            
!

JS

              
                
              
            
!
999px

Console