Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <figure>
  <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/44216/weather-radar.png" alt="A radar view from weather.com for Western PA showing passing storms."> 
  <figcaption><strong>Weather radar</strong>, also called <strong>weather surveillance radar (WSR)</strong> and <strong>Doppler weather radar</strong>, is a type of radar used to locate precipitation, calculate its motion, and estimate its type (rain, snow, hail etc.). Modern weather radars are mostlypulse-Doppler radars, capable of detecting the motion of rain droplets in addition to the intensity of the precipitation. Both types of data can be analyzed to determine the structure of storms and their potential to cause severe weather. - <a href="https://en.wikipedia.org/wiki/Weather_radar">Information from wikipedia</a></figcaption>
</figure> 

              
            
!

CSS

              
                figure, img {
  max-width: 500px;
}
img{
  border-bottom: 3px solid #ADA6AD;
}
figcaption{
  font-family: sans-serif;
  font-size: 1.1em;
  margin-top: .5em;  
}
              
            
!

JS

              
                
              
            
!
999px

Console