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

              
                <div class="container">
  <div class="card">
    <img src="http://www.pvhc.net/img8/niexjjzstcseuzdzkvoq.png" alt="img" width="145">
    <h2>Pikachu</h2>
    <p>
      Pikachu is a short, chubby rodent Pokémon. It is covered in yellow fur with two horizontal brown stripes on its back. It has a small mouth, long, pointed ears with black tips, brown eyes, and two red circles on its cheeks. 
    </p>
  </div>

  <div class="card">
    <img src="https://raceplacecom.s3.amazonaws.com/uploads/event/image/1606/Event-Icons-WDW_200x200.png" alt="img" width="145">
    <h2>Mickey</h2>
    <p>
      Mickey Mouse is a funny animal cartoon character and the mascot of The Walt Disney Company. He was created by Walt Disney and Ub Iwerks at the Walt Disney Studios in 1928. An anthropomorphic mouse who typically wears red shorts, large yellow shoes, and white gloves. 
    </p>
  </div>
  
  <div class="card">
    <img src="https://spidermannews.com/wp-content/uploads/2016/08/logo_spiderman-shield-svg-Edited.png" alt="img" width="145">
    <h2>Spider Man</h2>
    <p>
      Spider-Man is a fictional superhero appearing in American comic books published by Marvel Comics. The character was created by writer-editor Stan Lee and writer-artist Steve Ditko, and first appeared in the anthology comic book Amazing Fantasy #15 (August 1962) in the Silver Age of Comic Books. 
    </p>
  </div>
  
</div>
              
            
!

CSS

              
                body{
  padding: 100px 60px;
  background-color: #E6EBE0;
}
.card{
  float:left;
  width: 340px;
  height: 300px;
  text-align: center;
  background-color: #fff;
  padding: 25px;
  margin: 20px;
  border-radius: 15px
}
.container img{
  margin-top: -90px;
}
.container{
  width: 1300px;
  
}
              
            
!

JS

              
                
              
            
!
999px

Console