Pen Settings



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


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="[ p-8 min-h-screen ] [ flex justify-center items-center ] [ bg-main bg-[length:75%] bg-no-repeat bg-center bg-[hsl(302,33%,10%)] ] [ text-[hsl(302,20%,75%)] font-nunito ]">
  <div class="drop-shadow-clay">
    <div class="card [ p-[40px] max-w-sm rounded-[70px] ] [ bg-[hsl(302,33%,15%)] shadow-clay ]">
      <img class="mix-blend-hard-light" src="" alt="Save earth"><!-- Product image -->
      <div class="text-center">
        <h3 class="text-xl text-[hsl(302,70%,70%)] font-bold mb-5">Party-time panda</h3><!-- Product title -->
        <p class="text-sm mb-10">This is a part of the <strong>Pandastic NFT collection</strong> by <strong>John Doe</strong>. Kidding, this is just a UI demo. Graphic credits: <a href="" target="_blank" rel="noopener">Animalz</a></p><!-- Product description -->
      </div><!-- Card content -->
    </div><!-- Card -->
  </div><!-- Card wrapper -->
</div><!-- The container -->


                @import url('[email protected];900&display=swap');

.card {
  --squircle-radius: 70px;
  --squircle-smooth: 1;
  -webkit-mask-image: paint(squircle);
  mask-image: paint(squircle)


                tailwind.config = {
  theme: {
    extend: {
      fontFamily: {
        nunito: ["Nunito", "sans-serif"]
      boxShadow: {
          "inset -10px -10px 20px hsl(302deg 25% 10% / 90%), inset 0 16px 32px hsl(302deg 25% 30%)"
      backgroundImage: {
        'main': "url('')"
    dropShadow: {
      'clay': '35px 35px 35px hsl(302deg 25% 7%)',

if ("paintWorklet" in CSS) {
    "[email protected]/squircle.min.js"