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.

    <meta charset="utf-8">
    <title>Kendrick Lamar</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
 <div class="container">
  <div class="jumbotron text-center">
    <h1>Kendrick Lamar</h1>
    <p>the greatest rapper of the millenial generation</p>
     <div class="row-fluid">
       <div class="col-md-6 img-border-caption">
         <figure class="figure">
     <img class="img-responsive figure-img" alt="kendrick lamar" src=http://www.billboard.com/files/styles/article_main_image/public/media/Kendrick-Lamar-bw-march-2016-billboard-650.jpg>
           <figcaption class="figure-caption">Kendrick Lamar by Billboard Magazine</figcaption>
       <div class="col-md-6">
         <div class="jumbotron">
           <p>Kendrick Lamar, born in 1987, is an American rap and hip-hop artist. Sometimes called "k-dot", Kendrick has built a name for himself  through unique artistry and experimentation.</p>
         <button class="btn btn-block btn-lg">
           <a class="btn" target="blank" href=https://en.wikipedia.org/wiki/Kendrick_Lamar>Wikipedia</a>
         <button class="btn btn-block btn-lg">
           <a class="btn" target="blank" href=https://www.kendricklamar.com>Official Site</a>
   <h2 class="heading-2">Why Kendrick Lamar deserves a Tribute Page</h2> 
   <ul class="unordered-list">
     <li>He crosses genres effortlessly and sounds like no one else.</li><br>
     <li>His music is pertinent to culture and politics.</li><br>
     <li>He is always changing and growing.</li><br>
     <li>His collaborations are inspiring and fascinating.</li><br>
     <li>His multimedia, such as music videos, are full of poignant social commentary.</li><br>
  text-align: center;
  font-family:  sans-serif;
  padding: 5px 
  border: 5px solid #E6E6E6;
  padding: 10px;
  border-radius: 5px
.btn-lg {
  text-align: center;
  padding: 19px
.btn {
    padding: 14px 24px;
    border: 0 none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
.heading-2 {
  padding-top: 1%;
  padding-bottom: 2%;
  text-align: center;
  text-transform: uppercase;
  color: #0489B1;
.unordered-list {
  font-family: sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 1.2em;
  text-align: center;
  background: #D4D4D4;
  border-radius: 5px;
  list-style-type: none;
  margin: .5% 7%;
  padding-left: 1px;
br {
  display: block;
  content: "";
  margin: .3em;
🕑 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.