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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <h1 class="hello">Boston Celtics</h1>
<p>
<img class= "num1" src="https://upload.wikimedia.org/wikipedia/en/thumb/8/8f/Boston_Celtics.svg/243px-Boston_Celtics.svg.png">
<h1 class= "news">News</h1>
  <h2 class= "news">Kyrie Irving</h2>
  <h3 class= "news">PG Kyrie Irving will miss the playoffs. He is undergoing more surgery to remove screws in his knee.</h3>
  <h2 class= "news">Raptors Destroy Celtics</h2>
  <h3 class= "news">A tired celtics team was destroyed by the raptors. Boston had double digit turnovers. They have a pretty easy schedule, but need to win their next 4 games. Hopefully the Celtics don't have as much trouble with Toronto during the playoffs.</h3>
<form action= /submit-comment><input type="text" required placeholder="Comments">
  <button type="submit">Submit</button>
</form>
  <p>
    <h2 class= "schedule">
    <li>@ Wizards</li>
      <li>vs Nets</li>
  </h2>
  <img class= "jaylen"
src="http://i.cdn.turner.com/drp/nba/celtics/sites/default/files/jaylen_0.jpg">
<button class="btn btn-block button-primary">Like</button>
<h2 class= "roster">
    <li>Jaylen Brown</li>
    <li>Semi Ojeleye</li>
    <li>Shane Larkin</li>
    <li>Marcus Morris</li>
    <li>Marcus Smart</li>
    <li>Daniel Theis</li>
    <li>Guerschon Yabusele</li>
    <li>Terry Rozier</li>
    <li>Abdel Nader</li>
    <li>Greg Monroe</li>
    <li>Kadeem Allen</li>
    <li>Gordon Hayward</li>
    <li>Al Horford</li>
    <li>Kyrie Irving</li>
    <li>Jayson Tatum</li>
    <li>Aron Baines</li>
    <li>Jabari Bird</li>
    </li>
  </p>
  <p class= "link"> For more info, click this 
    <a href="http://www.espn.com/nba/team/_/name/bos/boston-celtics">ESPN</a> link</p>
            
          
!

CSS

            
              .hello {color: white;
  background-color: green;
  text-align: center;
  padding: 15px
}
.schedule {float: right;}
.roster {float: left;}
.num1{
  float:right;
}
h2 {color: green;}
h1 {color: green;}
h3 {color: green;
}
.jaylen{width: 750px}
.link{text-align: center;}



            
          
!

JS

            
              
            
          
!
999px

Console