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="row">
    <div class="col-sm-2"></div>
    <div class="col-sm-8 well">
      <h1>Cat Stevens</h1>
      <h2>Majicat Artist</h2>
      <div class="mainimg">
        <img class="CatStevens" src="http://a3.files.biography.com/image/upload/c_fit,cs_srgb,dpr_1.0,h_1200,q_80,w_1200/MTE5NTU2MzE2NDk2OTU0ODkx.jpg"> Image from Cat Stevens, taken in 1976, the year he started his Majicat Earth Tour.
      <div class="row">
       <div class="col-sm-8 col-sm-offset-2">
      <h3>Here's a time line of Cat Stevens' life:</h3>
            <li><b>1948</b> - Born as Steven Demetre Georgiou</li>
            <li><b>1967</b> - Launched his debut albut with the song "Matthew and Son charted at number 2 on the UK Singles Chart"</li>
            <li><b>1970</b> - Tea for the Tillerman released</li>
            <li><b>1971</b> - new album Teaser and the Firecat and Tea for the Tillerman are both certified triple platinum in the US. </li>
           <li><b>1977</b> - Converts to Islam and renames himself to Yusuf Islam</li>
           <li><b>1979</b> - Auctions all his guitars</li>
           <li><b>2006</b> - Returns to pop music with a new song 'An Other Cup'</li>
           <li><b>2009</b> - Releases his album 'Roadsinger' and begins his furst US tour since 1978</li>
         <h3 font-family: serif>"Music can be healing, and with my history and my knowledge of both sides of what looks like a gigantic divide in the world, I feel I can point a way forward to our common humanity again."</h3>
         <h4>- Cat Stevens</h4>
         <h3>Read more about Cat Stevens at his <a href= "https://en.wikipedia.org/wiki/Cat_Stevens" target=_"blank">Wikipedia page.</a></h2>
    <div class="col-sm-2" "></div>
              .well {
  background-color: #F2FBFA;

h1 {
  text-align: center;
  font-size: 5vw;

h2 {
  text-align: center;
  font-size: 2vw;
  font-style: italic;

h3 {
  font-size: 1.25vw;

h4 {
  font-size: 0.75vw;
  color: #D1D1D1;

.CatStevens {
  display: block;
  margin: auto;
  padding: 0.25vw;

.mainimg {
  background-color: #fff;
  border-radius: 0.5%;
  text-align: center;

🕑 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.