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 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

              
                <div class="contain">
<!--   <div class="row"> -->
  <div class="header ">
    <div class="col-xs-6"><h1 class="text-center"><strong>Captain America</strong></h1></div>
    <h2 class="text-center">super hero</h2>
    <div class="text-center img-text"><img src="http://images.fashionnstyle.com/data/images/full/153239/captain-america.jpg?w=600" class="img">
    <p class="text-center">Captain fight with us<p>
    </div>
 </div>
<!--   </div> -->
 <div class="p-body">
  <p>  Captain America is a fictional superhero appearing in American comic books published by Marvel Comics. Created by cartoonists Joe Simon and Jack Kirby, the character first appeared in Captain America Comics #1 (cover dated March 1941) from Timely Comics, a predecessor of Marvel Comics. Captain America was designed as a patriotic supersoldier who often fought the Axis powers of World War II and was Timely Comics' most popular character during the wartime period. The popularity of superheroes waned following the war and the Captain America comic book was discontinued in 1950, with a short-lived revival in 1953. Since Marvel Comics revived the character in 1964, Captain America has remained in publication.</p>   
   <div><img src="https://www.sideshowtoy.com/wp-content/uploads/2016/04/captain-america-civil-war-captain-america-sixth-scale-marvel-feature-902703.jpg" class="img-body"></div>
<p>  Captain America wears a costume that bears an American flag motif, and is armed with a nearly indestructible shield that he throws at foes. The character is usually depicted as the alter ego of<strong> Steve Rogers</strong>, a frail young man enhanced to the peak of human perfection by an experimental serum to aid the United States government's efforts in World War II. Near the end of the war, he was trapped in ice and survived in suspended animation until he was revived in the present day. Although Captain America often struggles to maintain his ideals as a man out of his time with its modern realities, he remains a highly respected figure in his community which includes becoming the long-time leader of the Avengers.</p> 
   <p>  If you have spare time,you could watch the movies  Captain America.</p>
  </div>
  
  
              
            
!

CSS

              
                <link href="http://fonts.gdgdocs.org/css?family=Lobster" rel-"stylesheet" type="text/css">
body{
  background-color:#F0F0F0;
}
/*
 header style
*/
h1{
  font-famliy:Lobster,Monospace;
  font-size:500%;
}
h2{
  font-family:monospace;
}
.img{
  width:80%;
  padding-top:3%;
  padding-bottom:1%;
}
.header{
  margin-top:50px;
	 background-color:#F0F0F0;
  padding-bottom:20px;
}
.img-text{
  font-family:Serif;
  font-size:200%;
  background-color:#D0D0D0;
  margin:10px 60px 60px 60px;
}

/*body style */
.p-body{
  font-family:cursive;
  font-size:200%;
  background-color:#F0F0F0;
}

.img-body{
  width:100%;
}

              
            
!

JS

              
                
              
            
!
999px

Console