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

              
                <body class="antialiased grid place-items-center h-dvh">
  <div class="text-center border border-[#E6E6E6] border-dashed rounded-xl bg-[#FCFCFC] p-14 w-full max-w-[620px] group hover:bg-[#F5F5F5] transition duration-500 hover:duration-200">
    <div class="flex justify-center isolate">
      <div class="size-12 bg-white grid place-items-center ring-1 ring-black/[0.08] rounded-xl relative left-2.5 top-1.5 -rotate-6 shadow shadow-lg group-hover:-translate-x-5 group-hover:-rotate-12 group-hover:-translate-y-0.5 transition duration-500 group-hover:duration-200">
        <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.57697 14.0171C3.63864 14.899 4.04811 15.7202 4.71532 16.3002C5.38252 16.8802 6.2528 17.1714 7.1347 17.1097L14.6164 16.5866C15.1658 16.5482 15.702 16.4012 16.1943 16.1543C16.6865 15.9073 17.1248 15.5653 17.484 15.1479C17.8432 14.7305 18.1161 14.246 18.2869 13.7225C18.4577 13.199 18.5231 12.6468 18.4792 12.0979C18.4353 11.5489 18.283 11.0141 18.0311 10.5244C17.7793 10.0347 17.4329 9.59979 17.0119 9.24479C16.5909 8.88978 16.1037 8.62175 15.5785 8.45618C15.0533 8.29061 14.5005 8.23079 13.9521 8.28019C13.8088 7.74474 13.5603 7.24324 13.2209 6.80501C12.8816 6.36679 12.4582 6.00065 11.9756 5.72801C11.4931 5.45537 10.9609 5.28172 10.4105 5.2172C9.85995 5.15269 9.30212 5.19861 8.76958 5.35228C8.23705 5.50595 7.74051 5.76429 7.30901 6.11217C6.87752 6.46006 6.51974 6.8905 6.25661 7.37832C5.99348 7.86615 5.83028 8.40155 5.77656 8.9532C5.72284 9.50486 5.77968 10.0617 5.94375 10.5911C5.21902 10.8088 4.58991 11.2666 4.1598 11.8892C3.72968 12.5118 3.52415 13.2622 3.57697 14.0171Z" stroke="#666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
      </div>
      <div class="size-12 bg-white grid place-items-center ring-1 ring-black/[0.08] rounded-xl z-10 shadow-lg group-hover:-translate-y-0.5 transition duration-500 group-hover:duration-200">
        <svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 17.5L13 12.5M14.6667 8.33333C14.6667 9.09938 14.5158 9.85792 14.2226 10.5657C13.9295 11.2734 13.4998 11.9164 12.9581 12.4581C12.4164 12.9998 11.7734 13.4295 11.0657 13.7226C10.3579 14.0158 9.59938 14.1667 8.83333 14.1667C8.06729 14.1667 7.30875 14.0158 6.60101 13.7226C5.89328 13.4295 5.25022 12.9998 4.70854 12.4581C4.16687 11.9164 3.73719 11.2734 3.44404 10.5657C3.15088 9.85792 3 9.09938 3 8.33333C3 6.78624 3.61458 5.30251 4.70854 4.20854C5.80251 3.11458 7.28624 2.5 8.83333 2.5C10.3804 2.5 11.8642 3.11458 12.9581 4.20854C14.0521 5.30251 14.6667 6.78624 14.6667 8.33333Z" stroke="#666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
      </div>
      <div class="size-12 bg-white grid place-items-center ring-1 ring-black/[0.08] rounded-xl relative right-2.5 top-1.5 rotate-6 shadow-lg group-hover:translate-x-5 group-hover:rotate-12 group-hover:-translate-y-0.5 transition duration-500 group-hover:duration-200">
    <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.3482 7.67475L11.1157 11M10.8832 14.3252L10.8915 14.3258M18.5974 11.5231C18.5287 12.5056 18.2672 13.465 17.8277 14.3464C17.3882 15.2279 16.7795 16.0141 16.0361 16.6603C15.2928 17.3064 14.4295 17.7999 13.4955 18.1124C12.5615 18.4249 11.575 18.5504 10.5925 18.4817C9.61 18.413 8.65064 18.1514 7.76921 17.712C6.88777 17.2725 6.10153 16.6637 5.45537 15.9204C4.80921 15.1771 4.31578 14.3138 4.00326 13.3797C3.69075 12.4457 3.56526 11.4593 3.63396 10.4768C3.77272 8.49251 4.69404 6.64462 6.19525 5.33964C7.69646 4.03466 9.65459 3.37948 11.6389 3.51823C13.6231 3.65698 15.471 4.57831 16.776 6.07952C18.081 7.58073 18.7362 9.53886 18.5974 11.5231Z" stroke="#666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
      </div>
    </div>
  <h2 class="text-base text-[#212121] font-medium mt-6">No Emissions Found</h2>
  <p class="text-sm text-[#666666] mt-1">Add emissions data for the selected<br /> period to see your emission profile.</p>
  <button class="text-[#212121] font-medium rounded-lg bg-white px-4 py-2.5 mt-4 shadow ring-1 ring-black/[0.08] hover:bg-[#EDEDED] transition active:shadow-none">Back to Previous Reporting Year</button>
    </div>
</body>
              
            
!

CSS

              
                body {
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialised;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}
              
            
!

JS

              
                
              
            
!
999px

Console