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. 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


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.


                <div class="min-h-screen bg-gray-100 flex flex-col justify-center antialiased">
  <div class="w-1/2 max-w-[420px] min-w-[320px] mx-auto rounded-xl overflow-hidden cursor-pointer transition-all hover:shadow-xl hover:rounded-3xl">
    <div class="aspect-w-16 aspect-h-9">
      <iframe src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    <div class="px-4 py-6 bg-white">
      <h1 class="font-bold text-2xl md:text-3xl mb-1 md:mb-2">米津玄師 MV「Lemon」</h1>
      <h2 class="font-semibold md:text-lg text-yellow-900 mb-4">TBS金曜ドラマ「アンナチュラル」主題歌</h2>
      <p class="line-clamp-2 text-gray-500 mb-4">Sony Music Entertainment (Japan) Inc., SME (代表NITRON concepts), PEDL, ASCAP, Abramus Digital, LatinAutorPerf, LatinAutor - PeerMusic, Wixen Music Publishing, Inc.與 9 個音樂版權協會</p>
      <ul class="text-sm space-y-2">
        <li class="font-semibold leading-7">▼ 商品形態</li>
        <li>レモン盤 /初回限定(CD+レターセット)¥2,000+税</li>
        <li>映像盤 /初回限定(CD+DVD)¥1,900+税</li>
        <li>通常盤 (CD)¥1,200+税</li>