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

              
                <!-- create a tribute page for Roger Zelazny.  This is for the "Build a Tribute Page" activity on FreeCodeCamp-->
<!-- ading in a Google Font-->
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
<div class="container"> 
<div class="Jumbotron">
       <h1 class="text-center text-primary"> Roger Zelazny</h1>
    <h2 class="text-center lead" style= "color: red"> Roger Zelazny was one of the greatest science fiction writers of the 20th century</h2>
</div>
<div class="row">
     <div class="col-md-4"> <a href="https://en.wikipedia.org/wiki/Roger_Zelazny"><div class="zImage2 imageOne"></div></a>
</div>
<div class="col-md-4"
  <a href="https://en.wikipedia.org/wiki/The_Chronicles_of_Amber"><div class="zImage imageTwo"></div></a>
</div>  
</div>

<h2> Bio</h2>
<p> Roger Joseph Zelazny (May 13, 1937 – June 14, 1995) was an American poet and writer of fantasy and science fiction short stories and novels, best known for The Chronicles of Amber. He won the Nebula award three times (out of 14 nominations) and the Hugo award six times (also out of 14 nominations), including two Hugos for novels: the serialized novel ...And Call Me Conrad (1965), subsequently published under the title This Immortal (1966) and then the novel Lord of Light (1967).</p>
<h2>Awards won</h2>
           <ol> 
             <li> ...And Call Me Conrad (published in book form as This Immortal) won the 1966 Hugo Award (novel), a tie with Dune by Frank Herbert.</li>
          <li>"The Doors of His Face, the Lamps of His Mouth" won the 1966 Nebula Award (novelette).</li>
        <li>"He Who Shapes" tied for the 1966 Nebula Award (novella)</li>
        <li>Lord of Light won the 1968 Hugo Award (novel).</li>
        <li>Isle of the Dead won the 1972 Prix Tour-Apollo Award (novel).</li>
        <li>This Immortal won the 1976 Seiun Award (foreign novel).</li>
        <li>"Home Is the Hangman" won both the 1976 Hugo Award and the 1976 Nebula Award (novella).</li>
        <li>"The Last Defender of Camelot" won the 1980 Balrog Award (short fiction).</li>
<li>"Unicorn Variation" won the 1982 Hugo Award (novelette) and the 1984 Seiun Award (foreign short fiction).</li>
<li>Unicorn Variations won the 1984 Locus Award (collection) and the 1984 Balrog Award (collection/anthology).</li>
        <li>"24 Views of Mt. Fuji, by Hokusai" won the 1986 Hugo Award (novella).</li>
        <li>Trumps of Doom won the 1986 Locus Award (fantasy novel).</li>
        <li>"Permafrost" won the 1987 Hugo Award (novelette).</li>
        </ol>
</div>
  

    
    
              
            
!

CSS

              
                body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
}
h1 {
  font-size: 50px;
}
h2 { 
  font-size: 40px;
}
p {
  font-size: 30px
}

.zImage {
  z-index: 98;
  height: 269px;
  width: 600px;
  margin: 10px 10px;
  background-size: 100%;
  background-position: center;
  -webkit-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  -ms-transition: all ease 0.2s;
  transition: all ease 0.2s;
}

.zImage2 {
  z-index: 98;
  height: 273px;
  width: 177px;
  margin: 10px 10px;
  background-size: 100%;
  background-position: center;
  -webkit-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  -ms-transition: all ease 0.2s;
  transition: all ease 0.2s;
}
.zImage:hover {
  z-index: 99;
  height: 300px;
  width: 600px;
  background-size: 100%;
  background-position: center;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,255,.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,255,0.75);
  box-shadow: 10px 10px 5px 0px rgba(0,0,255,0.75);
}
.zImage2:hover {
  z-index: 99;
  height: 280px;
  width: 200px;
  background-size: 100%;
  background-position: center;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(255,0,0,0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(255,0,0,0.75);
  box-shadow: 10px 10px 5px 0px rgba(255,0,0,0.75);
}
.imageOne {
  background-image:
    url("http://static.tvtropes.org/pmwiki/pub/images/Roger_Zelazny_sm.png");
}
  .imageTwo {
  background-image: url(https://patricksponaugle.files.wordpress.com/2014/04/ambercast.jpg);

              
            
!

JS

              
                
              
            
!
999px

Console