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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                
<html>
<head>
  <title>Carrie Fisher - Rebel Princess</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
  <body>
  

<header>
<h1>Carrie Fisher</h1>
<h3>Rebel Princess</p>
</header>
<img src="https://upload.wikimedia.org/wikipedia/commons/0/03/Carrie_Fisher_2013-a_straightened.jpg" alt="Carrie Fisher" id="photo-main">
 
<br>
 
<section class = "article">
 
<div class="main">
  <p>Carrie Frances Fisher (October 21, 1956 – December 27, 2016) was an American actress, writer and humorist, who was best known for playing Princess Leia in the Star Wars film series. Her other film roles included Shampoo (1975), The Blues Brothers (1980), Hannah and Her Sisters (1986), The 'Burbs (1989), and When Harry Met Sally... (1989).</p>
  <br>
  
  <p><h5>Memorable Moments</h5>
    <ul>
      <li><strong>1975</strong> - Made her film debut at age 18 in comedy <em>Shampoo</em></li>
      <li> <strong>1977</strong> - Starred as Princess Leia in George Lucas' film <em>Star Wars - A New Hope</em></li>
      <li><strong>1980</strong> - Appeared in <em>The Blues Brothers</em></li>
      <li><strong>1980</strong> - Once again in <em>Star Wars - The Empire Strikes Back</em></li>
        <li><strong>1983</strong> - And again - <em>Star Wars - Return of the Jedi</em></li>
        <li><strong>1987</strong> - Published her first novel, <em>Postards form the Edge</em></li>
        <li><strong>1989</strong> - Played a major supporting role in <em>When Harry Met Sally...</em></li>
        </p>
        <br>
      
  <p><blockquote id="quote">
  <em>She was extremely smart; a talented actress, writer and comedienne with a very colorful personality that everyone loved. In Star Wars she was our great and powerful princess—feisty, wise and full of hope in a role that was more difficult than most people might think.</em>
  - director George Lucas</blockquote>
  
  <img id="pic-bottom" 
  src="http://static.boredpanda.com/blog/wp-content/uploads/2016/12/artists-pay-tribute-princess-leia-carrie-fisher-10-58637db624888__700.jpg" alt="Tribute to Carrie Fisher by artist">

  </div> 

 <!-- Please let me know if you know who is the artist -->        
         
  <p id="wiki">Read more about Carrie Fisher on <a href="https://en.wikipedia.org/wiki/Carrie_Fisher">Wikipedia</a></p>

</section>
</body>
            
       </html>
              
            
!

CSS

              
                * {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 0;
  background-color: black;
  color: rgb(229, 177, 58);
  width: 85%;  
  height: 100%;
  border: 1px solid yellow;
  border-radius: 1%;
    }

header {
  text-align: center;
  font-family: franklin gothic;
  color: rgb(229, 177, 58) !important;
  margin-top: 30px;
}

  #photo-main {
  margin: 0 auto;  
  height: 560px;
  display: block;
  margin-bottom: 30px;  
    position: relative;
    z-index: 1;
    border: 2px solid black;
    border-radius: 2%;
}

.article {

  justify-content: center;
  text-align: justify;
  font-size: 150%;
  letter-spacing: 1px;
  line-height: 35px;
  z-index: -1;
}


}

#quote {
  padding: 0 90px;
}

.main {
  margin: 0 100px;
}
#pic-bottom {
  position: relative;
  margin: 0 auto;
  display: block;
  z-index: -1;
}

#wiki {
  font-size: 15px;  
  line-height: 15px;
  letter-spacing: 1px;
  text-align: center;
  
}
              
            
!

JS

              
                
              
            
!
999px

Console