123

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.

            
              <link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
<div class="back-grey">
<div class="container">
  <div class="inner">
  <br>
    <h1 class="text-center"><b>Jon Kabat-Zinn</b></h1>
  <h2 class="text-center"><b>Mindfulness Guru</b></h2>
<br>
<img src="http://www.mindful.org/wp-content/uploads/2015/06/ep608-own-sss-jon-kabat-zinn-4-949x534.jpg" alt="Jon Kabat-Zinn with Oprah." class="img-responsive img-center">
<br>
  <div class="col-sm-6">
    <h3><b>Why Jon inspires me:</b></h3>
    <p>Jon Kabat-Zinn has been a huge inspiration in my life, and his teachings on mindfulness have helped me to practice staying calm and in the moment during some of the most stressful times in my life. Often times we become caught up in things that have happened in the <b>past</b>, or things that might happen in the <b>future</b>, but that only causes grief and anxiety, because the only thing we can really have any control over is the <b>current moment</b>. In order to be truly free, you must let go of the things that are out of your control, and focus your energy on making incremental and meaningful changes to your current situation. This can only be done if you are existing in the present, and mindfulness is a wonderful tool for accomplishing this.</p>
</div>
    <br>
  <div class="col-sm-6 left">
  <h3><b>Timeline of Jon's Accomplishments:</b></h3>
  <ul class="list">
    <li><b>1944: </b>Born in New York City.</li>
    <li><b>1971: </b>Earned a PhD in Molecular Biology from MIT.</li>
    <li><b>1979: </b>Founded the Stress Reduction Clinic at the University of Massachusetts Medical School.</li>
    <li><b>1991: </b>Releases his first book <i>Full Catastrophe Living: Using the Wisdom of Your Body and Mind to Face Stress, Pain, and Illness.</i></li>
    <li><b>1994: </b>Releases his second book <i>Wherever You Go, There You Are: Mindfulness Meditation in Everyday Life.</i></li>
    </ul>
  </div>
  <div class="col-sm-12 text-center">
    <h4 class="text-center"><b>Check out Jon's great <a href="https://www.youtube.com/watch?v=3nwwKbM_vJc" target="blank">Mindfulness session at Google in 2007.
      </a></b></h4>
    <br>
    <p class="quote"><i>"You can't stop the waves, but you can learn to surf."</i></p>
  <p>-Jon Kabat-Zinn
  </p>
  </div>
  </div>
</div>
</div>

            
          
!
            
              img {
  display: block;
  margin: auto;
  width: 100%;
}

.quote {
  font-size: 130%;
  letter-spacing: 2px;
  color: grey;
}

body {
  font-family: Josefin Sans;
  font-size: 150%;
}

li {
  line-height: 150%;
}

.container {
  background: white;
  box-shadow: 0px 0px 20px 1px #3a3a3a;
  margin: auto;
}

.inner {
  margin: 5%;
}

.back-grey {
  width: 100%;
  background: grey;
}
            
          
!
999px
🕑 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.

Console