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

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

              
                <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Allura|Dancing+Script|El+Messiri" rel="stylesheet">
<div class="container-fluid">
  <img src="https://image.ibb.co/h8XZg5/image.jpg" alt="Photo of MLK giving a speech">
  <h1 align="left">Martin Luther King</h1>
  <h2 align="left">A Man Of Peace.</h2>
  <div id="life">
    <div id="life">
      <h3><i class="fa fa-circle"></i> <strong>AN EXTRAORDINARY LIFE</strong></h3>
      <p align="justify" class="col-sm-4">Martin Luther King Jr. lived an extraordinary life. At 33, he was pressing the case of civil rights with President John Kennedy. At 34, he galvanized the nation with his "I Have a Dream" speech. At 35, he won the Nobel Peace Prize. At 39, he was
        assassinated, but he left a legacy of hope and inspiration that continues today.</p>
    </div>
  </div>
  <div id="legacy">
    <h3><i class="fa fa-circle"></i> <strong>A LASTING LEGACY</strong></h3>
    <p align="justify" class="col-sm-4">Only four days after his death, the first legislation providing for a Martin Luther King Jr. federal holiday was filed. It would take until June 7, 1999 for all 50 states to recognize the holiday, according to the King Center. The third Monday of
      January is now officially Martin Luther King Jr. Day across the country. <em>Read more on <a href="https://en.wikipedia.org/wiki/Martin_Luther_King_Jr.">Wikipedia</a>.</em></p>
  </div>
  <div id="quote" class="text-center col-md-5">
    <i class="fa fa-quote-left"></i> <span>I have a dream that my four little children will one day live in a nation where they will not be judged by the color of their skin, but by the content of their character.</span> <i class="fa fa-quote-right"></i></p>
    -<em>Martin Luther King Jr.</em>
  </div>
</div>
              
            
!

CSS

              
                body {
  background: url("https://image.ibb.co/ctwk4Q/mlk.jpg")
    no-repeat
    fixed
    center
    bottom;
  background-size: cover;
  height: 100%;
}
h1 {
  font-family: Allura;
  color: #2dc8f1;
  padding: 20px 0 0 20px;
  font-size: 85px;
  text-shadow: 1px 1px white;
}
h2 {
  font-family: Abril Fatface;
  color: white;
  padding-left: 20px;
  font-size: 70px;
}
h3 {
  color: #cecece;
  padding-left: 20px;
  padding-top: 15px;
  font-family: El Messiri;
  font-size: 18px;
}
.fa-circle {
  font-size: 12px !important;
}
p {
  color: white;
  font-size: 14px;
  margin-left: 25px;
}
#quote {
  font-size: 20px;
  color: white;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
span {
  background-color: #f0e829;
  color: #494b4c !important;
}
img {
  border: 1px solid white;
  border-radius: 50%;
  width: 20%;
  margin: 25px 0px 0px 30px;
}

              
            
!

JS

              
                $(document).ready(function() {
  $("i:even").css("color", "#fbeb50");
  $("i:odd").css("color", "#ff7256");
});

              
            
!
999px

Console