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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div class="container-fluid page-container">
  <div class="jumbotron jumbotron-fluid">
    <div class="row">
      <h1 class="display-3">Paul Desmond</h1>
      <hr class="my-4">
      <p class="subtitle">Idol of Cool</p>
    </div>
  </div>
  <div class="timeline">
    <h2 class="timeline-header">Notable dates:</h2>
    <ul class="timeline-body">
      <li><span class="year">1924</span>: Born November 25, in San Francisco, CA</li>
      <li><span class="year">1936</span>: Begins studying clarinet at age 12</li>
      <li><span class="year">1944</span>: Switches to alto saxophone at age 19</li>
      <li><span class="year">1944</span>: Drafted into the Army; meets Dave Brubeck while stationed at San Francisco's Presidio Army Base</li>
      <li><span class="year">1951</span>: the Dave Brubeck Quartet is founded, along with Joe Morello on drums and Eugene Wright on bass</li>
      <li><span class="year">1954</span>: Time Magazine features the Dave Brubeck Quartet, with Brubeck on the magazine cover</li>
      <li><span class="year">1959</span>: Desmond pens "<a href="https://www.youtube.com/watch?v=vmDDOFXSgAs" target="_blank">Take Five</a>"</li>
      <li><span class="year">1967</span>: the Brubeck Quartet is disbanded in December, and Desmond unofficially retires</li>
      <li><span class="year">1971</span>: "Paul Desmond & the Modern Jazz Quartet" recorded live on Christmas Day at Town Hall, NYC</li>
      <li><span class="year">1976</span>: Desmond participates in the Brubeck Quartet's silver anniversary tour, playing 25 shows in 25 nights</li>
      <li><span class="year">1977</span>: Desmond performs live for the last time in February, with the Brubeck Quartet at Lincoln Center's Avery Fisher Hall, NYC</li>
      <li><span class="year">1977</span>: Desmond passes away at on May 30, at age 52</li>
    </ul>
  </div>
  <hr class="my-4">
  <div class="acts">
    <h2 class="acts-header">Collaborations with:</h2>
    <ul class="acts-body">
      <li>Dave Brubeck</li>
      <li>Joe Morello</li>
      <li>Eugene Wright</li>
      <li>Gerry Mulligan</li>
      <li>Jack Fina</li>
      <li>Jim Hall</li>
      <li>Chet Baker</li>
      <li>Ed Bickert</li>
      <li>Dan Brubeck</li>
      <li>Chris Brubeck</li>
      <li>Darius Brubeck</li>
      <li>Jimmy Rushing</li>
      <li>Perry Robinson</li>
      <li>Clifford Brown</li>
      <li>Don Elliot</li>
      <li>Leonard Bernstein</li>
      <li>Carmen McRae</li>
      <li>Modern Jazz Quartet</li>
      <li>Art Garfunkel</li>
      <li>New York Philharmonic</li>
    </ul>
  </div>
  <div class="action-boxes">
    <div class="action-box">
      <div class="image">
        <a href="https://en.wikipedia.org/wiki/Paul_Desmond#Discography" target="_blank"><img src="https://ichef.bbci.co.uk/images/ic/960x540/p01bqtx7.jpg" alt="Paul Desmond"></a>
      </div>
      <p class="action-box-text">View Paul Desmond's complete biography (Wikipedia)</p>
      <div class="action-box-footer">
        <a class="action-button" href="https://en.wikipedia.org/wiki/Paul_Desmond#Discography" target="_blank">Discography</a>
      </div>
    </div>
    <div class="action-box">
      <div class="image">
        <a href="https://jazzscripts.blogspot.com/2017/08/paul-desmond-idol-of-cool.html" target="_blank" ><img src="https://3.bp.blogspot.com/-wxJGyC2OoKc/WZ3eKeuQ1CI/AAAAAAAAAbU/4yDHktE3tgAUjn2bu4fPG8RmTIWRsFaeQCLcBGAs/s1600/Dave_Brubeck_Quartet_1962.jpg" alt="Brubeck Quartet"></a>
        </div>
      <p class="action-box-text">Read my own (short) biography on Paul Desmond here at my JazzScripts blog</p>
      <div class="action-box-footer">
        <a class="action-button" href="https://jazzscripts.blogspot.com/2017/08/paul-desmond-idol-of-cool.html" target="_blank" >Visit JazzScripts</a>
      </div>
    </div>
    <div class="action-box">
      <div class="image">
        <a href="https://en.wikipedia.org/wiki/Paul_Desmond" target="_blank"><img src="https://upload.wikimedia.org/wikipedia/commons/a/a3/Davebrubeckquartet1967a.jpg" alt="Brubeck Quartet, 1967"></a>
      </div>
      <p class="action-box-text">Check out the Wikipedia article on Paul Desmond</p>
      <div class="action-box-footer">
        <a class="action-button" href="https://en.wikipedia.org/wiki/Paul_Desmond" target="_blank">Wikipedia</a>
      </div>
    </div>
  </div>
</div>


              
            
!

CSS

              
                html, html * {
  box-sizing: border-box;
  position: relative;
}
body {
  color: #444;
  text-align: center;
  font-family: "Source Sans Pro", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: "Raleway", serif;
}

.page-container { 
  background: linear-gradient(to bottom right, #fafafa, #bbb);
  padding-bottom: 20px;
}

.jumbotron {
  padding: 40px;
  text-shadow: 1px 1px 10px white;
  text-shadow: -1px -1px 10px white;
  text-shadow: 1px -1px 10px white;
  text-shadow: -1px 1px 10px white;
  font-size: 250%;
  font-family: "Raleway", serif; 
  text-align: left;
  background: url("http://deus62.com/wp-content/uploads/grid-2016-paul-desmond-1100x715.jpg") no-repeat center center;
  background-size: 100% auto;
}
.timeline {
  padding-bottom: 20px;
}
.timeline-header, .acts-header {
  margin: 40px auto;
}
.timeline-body, .acts-body {
  margin: 20px auto;
  max-width: 700px;
  li {
    text-align: left;
    margin: 10px 0;
    .year {
      font-weight: bold;
    }
  }
}
.timeline-body li {
    list-style-type: circle;
    &::before {
      content: ' ';
      height: 117%;
      width: 1px;
      display: block;
      border-left: thin solid #aaa;
      position: absolute;
      top: 0.85rem;
      left: -15px;
    }
    &:last-child::before {
      display: none;
    }
  &:hover {
    list-style-type: disc;
  }
}
.acts-body {
  padding: 0;
  list-style: none;
  column-count: 2;
  li {
    text-align: center;
    &:first-child {
      margin-top: 0;
    }
  }
}

.action-boxes {
  margin: 50px auto 0 auto;
  display: flex;
  flex-flow: row;
  .action-box {
    padding-bottom: 40px;
    border-radius: 5px;
    overflow: hidden;
    margin: 30px 10px;
    flex: 1 0 0;
    width: 30%;
    background-color: white;
    opacity: 0.8;
    transition: 0.15s linear opacity;
    &:hover {
      opacity: 1;
      transition: 0.2s linear opacity;
    }
    .image {
      overflow: hidden;
      text-align: center;
      img {
        margin: 0 auto;
        height: 250px;
        width: auto;
      } 
    }
    .action-box-text {
      padding: 10px;
      height: 120px;
    }
    .action-button {
      text-decoration: none;
      border-radius: 8px;
      font-family: "Raleway", serif;
      font-size: 110%;
      border: 3px solid gray;
      color: gray;
      padding: 10px;
    }
    .action-button:hover {  
      border: 3px solid #222;
      color: #222;
    }
  }
}

hr {
  width: 100%;
  animation: 2s ease-in-out 0s growWide forwards;
}
.subtitle {
  opacity: 1;
  animation: 6s ease-out 0s fadeIn forwards;
}

@keyframes growWide {
  0% { width: 0; }
  33% { width: 0; }
  100% { width: 100%; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  66% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 856px) {
  .action-boxes {
    display: block;
    .action-box {
      display: block;
      width: 100%;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      .image img {
        width: 100%;
        height: auto;
      }
    }
  }
}

@media (max-width: 645px) {
  .jumbotron {
    font-size: 140%;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console