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

              
                <!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Your Website Title</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
    
</head>
<body>
  <div class="flex flex-col md:flex-row items-center justify-between bg-blue-500 text-white p-8 md:p-16 space-y-4 md:space-y-0 md:space-x-8 font-semibold text-lg ">
        <div class="flex flex-col items-center space-y-4 text-xl">
          <i class="far fa-calendar-alt text-2xl"></i> 
          <p>August 12th 2023</p>
        </div>
        <div class="flex flex-col items-center space-y-4 text-xl">
          <i class="far fa-clock text-2xl"></i> 
          <p>09:00 am GMT</p>
        </div>
        <div class="flex flex-col items-center space-y-4 text-xl">
          <i class="far fa-hourglass text-2xl"></i> 
          <p>Duration: 8 Hour</p>
        </div>
        <button class="bg-white text-black px-6 py-2 rounded-md md:text-2xl text-xl">Book Seat Now</button>
      </div>
      
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console