css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <div class="container-fluid">
<div class="well">
  <h1 class="text-primary text-center"><b>Kurt Cobain</b></h1>
 <h2 class="text-center text-secondary">Legendary Guitarist, Musician</h2>

  <h3 class="text-center"><em>"The duty of youth is to challenge corruption"</em></h3>

<div class="container-img">

  <img class="img-responsive" src="http://static.spin.com/files/2015/12/kurt-cobain-nirvana-1994-640x426.jpg">
<p class="text-center"> Kurt Cobain performing on stage CREDIT: Getty Images</p>
</div> <!-- END OF CONTAINER-IMG -->
<div class="container-timeline">
<h3> A Timeline of Kurt Cobain's Life:</h3>  
  <li><b>Feburary 20th, 1967</b> - Kurt Donald Cobain born in Washington, U.S.</li>
  <li><b>April 24th, 1970</b> - His younger sister, Kimberly, was born.</li>
  <li><b>1976</b> - Cobain's parent's divorce.</li>
  <li><b>February 20, 1981</b> - Cobain given a used guitar from his uncle.</li>
  <li><b>1986</b> - Cobain moved into an apartment, paying his rent by working at The Polynesian Resort.</li>
  <li><b>1987</b> - Cobain formed Nirvana with Krist Novoselic in Aberdeen, Washington.</li>
  <li><b>1989</b> - Nirvana's debut album Bleach was released on the independent record label <em>SubPop</em>.</li>
  <li><b>1991</b> - Dave Grohl joins band. Major label debut, <em>Nevermind</em>.</li>
  <li><b>April 8, 1994</b> - Cobain was found dead at his home in Seattle, officially ruled a suicide by a self-inflicted shotgun wound to the head.</li>
  <li><b>2014</b> - Cobain induced into the Rock and Roll Hall of Fame.</li>
<div class="container-quote">
<p class="font-large">"He really, really inspired me. He was so great. Wonderful. One of the best, but more than that. Kurt was one of the absolute best of all time for me."</p>
<p class="pad-left"><em> - Neil Young, 1995</em></p>
 </div> <!-- END OF CONTAINER-QUOTE -->
<div class="container-link">
  <p class="text-center">If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Kurt_Cobain"target='_blank'> Wikipedia entry</a>.</p>
</div> <!-- END OF CONTAINER-LINK-->
</div> <!-- END OF WELL -->
  <div class="footer">
  <p class="text-center"> Written and coded by <a href="https://github.com/patevs"target='_blank'>Patrick Evans</a>.</p>
  </div> <!-- END OF FOOTER-->
</div> <!-- END OF CONTAINER -->
              * {
  font-family: Monospace, Helvetica;

body {
  margin: 0;
  padding: 50px 100px;
  box-sizing: border-box;

well {
  margin: 16px;

h1 {
  font-size: 420%;

h3 {
  padding-bottom: 8px;

.container-img {
  width: 66%;
  margin: 0 auto;
  padding-top: 4px;
  border: 1px solid grey;
  border-radius: 1%;
  background-color: white;

p {
  padding-bottom: 0px;

.img-responsive {
  width: 99%;
  margin: 0 auto;
  padding-bottom: 8px;
  border-radius: 1%;

.container-timeline {
  padding-top: 16px;
  width: 55%;
  margin: 0 auto;

ul li {
  padding-bottom: 8px;

.container-quote {
  font-size: 110%;
  padding-top: 16px; 
  width: 60%;
  margin: 0 auto;

.font-large {
  font-size: 142%;
.pad-left {
  padding-left: 16px;

.container-link {
  padding-top: 32px;
  padding-bottom: 16px;
  width: 60%;
  margin: 0 auto;
  font-size: 155%;

.container-link p {
  text-align: center;

.footer {
  padding-top: 32px;
  width: 25%;
  margin: 0 auto;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................