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="fluid-container">
<body class="gray-background">
  <h1 class="text-center"> Theodore Roosevelt</h1>
  <h4 class="text-center">  One of the toughest men who's ever lived </h4>
  <div class="white-background photo-margin dashed-border">
    <img class="center-block" src="">
    <h4 class="text-center"> A political cartoon related to Teddy Roosevelt </h4>


  <h3 class="text-center">
      Here are some of Ted's greatest accomplishments:
  <div class="center">
      <li>President of the USA </li>
      <li> Won a nobel peace prize </li>
      <li> Built the panama canal </li>
      <li> Scaled the matterhorn </li>


  <h3 class="text-center">If you want to know more about Ted, click <a href=""> here </a> </h3>




  .center {
  width: 200px;
  margin: 0 auto;
  text-align: left;

.gray-background {
  background-color: #C0C0C0;

.white-background {
  background-color: white;

.photo-margin {
  margin: 5px 210px 5px 217px

.dashed-border {
  border-color: black;
  border-width: 3px;
  border-style: groove;