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

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

              
            
!

CSS

              
                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;
}
              
            
!

JS

              
                
              
            
!
999px

Console