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

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

              
                <p>Tarwhine cow shark shortnose chimaera clingfish sleeper shark, trout-perch Alaska blackfish armored gurnard. Loosejaw wels catfish devil ray, dealfish neon tetra pencilsmelt spookfish glassfish southern Dolly Varden Siamese fighting fish; betta delta smelt Antarctic icefish. Lined sole cusk-eel coley midshipman dogteeth <a href="#" aria-label="This is extra information">tetra Moorish</a> idol ronquil halfmoon javelin. Arrowtooth eel triggerfish, sailfish red velvetfish red snapper speckled trout bass mosquitofish scissor-tail rasbora. Sockeye salmon queen danio sandroller cherry salmon lenok leatherjacket. Damselfish shortnose sucker fingerfish sweeper hog sucker barbel Blacksmelt threadsail Redhorse sucker bluegill sculpin ghoul mahseer.</p>
              
            
!

CSS

              
                body {
  margin: 5em auto;
  font-family: Buenard, sans-serif;
  font-size: 1.1em;
  max-width: 40em;
  line-height: 1.5;
}

a {
color: #e92c6c;
text-decoration: none;
font-weight: bold
}

[aria-label] {
position: relative;
cursor: help;
}

[aria-label]:after {
content: attr(aria-label);
display: none;
position: absolute;
top: 110%;
left: 10px;
z-index: 2;
padding: 14px;
line-height: 15px;
white-space: nowrap;
color: #fff;
background-color: #412917;
border-left: 8px solid #d37092;
border-radius: 5px;
}

[aria-label]:before {
  content: " ";
  display: none;
  position: absolute;
  z-index: 3;
  top: 66%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

[aria-label]:hover:after, [aria-label]:hover:before {
display: block;
}
              
            
!

JS

              
                
              
            
!
999px

Console