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

              
                <head>
  <meta charset="UTF-8">
  <meta name="TributeToBarb" content="Tribute to Barbara from Stranger Things">
  <link rel="stylesheet" type="text/css" href="style.css">
  <title>RIP Barbara Holland</title>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
  <script>
    $(document).ready(function() {
        $("#name").addClass("animated infinite flash");
        $("button").click(function(){
          $("body").addClass("flip");
          $("img").attr("src", "https://lyriquediscorde.files.wordpress.com/2016/07/10788670_stranger-things-gears-up-for-a-showdown_tf5c709bd.jpg?w=760");
          $(".caption").text("NOOOOOOOOOOO!");
          $("img").addClass("flip");
          $(".caption").addClass("flip");
        });
      });
  </script>
</head>

<body>
  <div class="container-fluid">
    <div class="jumbotron text-center">

      <header>
        <h1 id="name">Barbara Holland</h1>
        <h2><em>The best of us</em></h2>
      </header>

      <main>
        <div class="img-thumbnail">
          <a href="http://www.imdb.com/title/tt4574334/"><img class="img-responsive center-block" src="http://vignette2.wikia.nocookie.net/stranger-things/images/3/37/Barb.jpg/revision/latest?cb=20160727230936" alt="Barbara Holland Judging"></a>
          <div class="caption">
            <p>Barbara with an expression of amused disbelief over Nancy's naivety in regards to Steve Harrington's true motives for the party.</p>
          </div>
        </div>
        <h3>Here's a time line of Barbara Holland's life:</h3>
        <div class="timeline">
          <ul>
            <li><b>1983</b> - Alive
              <li><b>1983</b> - Dead
          </ul>
        </div>
        <blockquote>"Nancy!"
          <footer><cite>Barbara Holland bout to get ate</footer></cite></blockquote>
        <div class="row">
          <div class="col-md-8">
            <p>Take a look at what it was like in the Upside Down for Barb!</p>
          </div>
          <div class="col-md-4">
            <button class="btn btn-danger">Upside Down</button>
          </div>
        </div>
      </main>

      <footer>

      </footer>

    </div>
  </div>
</body>
              
            
!

CSS

              
                @import "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css";
@import "https://fonts.googleapis.com/css?family=Eczar";

body {
  color: #FF0009;
}

.flip {
  width: 100%;
  height: 100%;
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.jumbotron {
  margin-top: 60px;
  margin-right: 60px;
  margin-bottom: 60px;
  margin-left: 60px;
  border-radius: 10px;
  background-color: black;
  font-family: 'Eczar', serif;
}

.img-thumbnail {
  background-color: #262626;
}
.caption p {
  margin-top: 15px;
  margin-left: 20px;
  margin-right: 20px;
  font-size: 18px;
}

h3 {
  margin-top: 50px;
}

.timeline {
  display: inline-block;
}
blockquote {
  background-color: #262626;
}

button:hover {
  -webkit-transform: rotate(180deg);
}
              
            
!

JS

              
                
              
            
!
999px

Console