Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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="jumbotron">
  <div class="">
    <h1 class="cwn-logo"><a href="https://coworkingnight.org"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/69546/cwn-logo-light-fullnowatermark.svg" alt="CoWorking Night - Learn. Connect. Collaborate."></a></h1>
    <p class="cwn-intro">CoWorking Night is a free weekly conference where professionals come to learn, connect, and collaborate.<br> Anyone of any age or background is welcome to attend. No RSVP is required; just show up!</p>
    <p class="cwn-sponsors"><strong>Sponsored by Real Estate Row and Hackster.io.<br> Presented by New Leaf Digital.</strong></p>
    <h2 class="cwn-info"><span class="cwn-edition">CoWorking Night #<span class="cwn-edition-number">88</span></span><span class="cwn-date-time"><span class="cwn-date">Jan 11, 2017</span><span class="cwn-time">6‑11pm</span></span><span class="cwn-location">Real Estate Row</span></h2>
  </div>
</div>

<div class="container my-2 cwn-schedule">

  <div class="time-slot">
    <div class="time-slot-bracket">
      <div class="time-slot-title">
        5:30pm
      </div>
    </div>
    <div class="card-deck">

      <div class="card workshop">
        <div class="card-block">
          <div class="workshop-icon">
            <i class="fa fa-pencil fa-4x"></i>
          </div>
          <h3 class="card-title workshop-title">
          <span class="underline">Using Continuous Innovation to Create Radically Successful Businesses</span>
        </h3>
          <span class="group-title">
            <a href="#">
              Causeway
            </a>
          </span>
          <span class="workshop-category">Business</span>
          <br>
          <span class="workshop-time">5:30 pm - 6:30 pm</span>
          <span class="workshop-location">Space Station</span>
          <p class="card-text workshop-description">Short text - Lorem ipsum dolor sit amet.</p>
        </div>
      </div>

    </div>
  </div>


  <div class="time-slot">
    <div class="time-slot-bracket">
      <div class="time-slot-title">
        6:00pm
      </div>
    </div>
    <div class="card-deck">

      <div class="card workshop">
        <div class="card-block">
          <div class="workshop-icon">
            <i class="fa fa-star fa-4x"></i>
          </div>
          <h3 class="card-title workshop-title">
          <span class="underline">Using Continuous Innovation to Create Radically Successful Businesses</span>
        </h3>
          <span class="group-title">
            <a href="#">
              Causeway
            </a>
          </span>
          <span class="workshop-category">Business</span>
          <br>
          <span class="workshop-time">5:30 pm - 6:30 pm</span>
          <span class="workshop-location">Space Station</span>
          <p class="card-text workshop-description">Short text - Lorem ipsum dolor sit amet.</p>
        </div>
      </div>

      <div class="card workshop">
        <div class="card-block">
          <div class="workshop-icon">
            <i class="fa fa-star fa-4x"></i>
          </div>
          <h3 class="card-title workshop-title">
          <span class="underline">Using Continuous Innovation to Create Radically Successful Businesses</span>
        </h3>
          <span class="group-title">
            <a href="#">
              Causeway
            </a>
          </span>
          <span class="workshop-category">Business</span>
          <br>
          <span class="workshop-time">5:30 pm - 6:30 pm</span>
          <span class="workshop-location">Space Station</span>
          <p class="card-text workshop-description">Short text - Lorem ipsum dolor sit amet.</p>
        </div>
      </div>
      
       <div class="card workshop">
        <div class="card-block">
          <div class="workshop-icon">
            <i class="fa fa-star fa-4x"></i>
          </div>
          <h3 class="card-title workshop-title">
          <span class="underline">Using Continuous Innovation to Create Radically Successful Businesses</span>
        </h3>
          <span class="group-title">
            <a href="#">
              Causeway
            </a>
          </span>
          <span class="workshop-category">Business</span>
          <br>
          <span class="workshop-time">5:30 pm - 6:30 pm</span>
          <span class="workshop-location">Space Station</span>
          <p class="card-text workshop-description">Short text - Lorem ipsum dolor sit amet.</p>
        </div>
      </div>
      
       <div class="card workshop">
        <div class="card-block">
          <div class="workshop-icon">
            <i class="fa fa-star fa-4x"></i>
          </div>
          <h3 class="card-title workshop-title">
          <span class="underline">Using Continuous Innovation to Create Radically Successful Businesses</span>
        </h3>
          <span class="group-title">
            <a href="#">
              Causeway
            </a>
          </span>
          <span class="workshop-category">Business</span>
          <br>
          <span class="workshop-time">5:30 pm - 6:30 pm</span>
          <span class="workshop-location">Space Station</span>
          <p class="card-text workshop-description">Short text - Lorem ipsum dolor sit amet.</p>
        </div>
      </div>


    </div>
  </div>


</div>

<div class="footer-spacer"></div>

<footer class="footer fixed-bottom text-center">
  <div class="container">
    <p class="schedule-url">
      <a href="https://coworkingnight.org/schedule">coworkingnight.org/schedule</a>
    </p>
    <p class="cwn-sponsors">
      Sponsored by <a href="https://www.realestaterow.com/" target="_blank">Real Estate Row</a> and <a href="https://hackster.io" target="_blank">Hackster.io</a>. Presented by <a href="https://newleafdigital.org" target="_blank">New Leaf Digital</a>.
    </p>
  </div>
</footer>
              
            
!

CSS

              
                body {
  font-family: 'Raleway', sans-serif;
  background: #EBE6DB;
}

@font-face {
  font-family: 'norwesterregular';
  src: url('https://static1.squarespace.com/static/57dab55ad2b85760483591ab/t/587c41221b631b453a472ceb/1484538146934/norwester-webfont.woff2') format('woff2'), url('https://static1.squarespace.com/static/57dab55ad2b85760483591ab/t/587c41221b631b453a472ceb/1484538146934/norwester-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

img {
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: norwesterregular;
}

a {
  color:#F96156;
  font-weight:bold;
}
a:hover {
  color:#c1342a;
}

.jumbotron {
  padding:2rem 4%;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/69546/schedule-bg-2400.jpg) 50% 50% transparent;
  background-size:cover;
  color:#e8e2d0;
  text-align:center;
  border-radius:0;
}

.cwn-logo {
  max-width:300px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:2rem;
}

.cwn-intro, .cwn-sponsors {
  margin-bottom:2rem;
}

.cwn-info {
  font-size:1.75rem;
}
.cwn-date-time:before {
  content: " | "
}
.cwn-time:before {
  content: " - "
}
.cwn-location:before {
  content: " | "
}
@media (max-width:543px) {
  .cwn-info {
    font-size:1.5rem;
  }
  .cwn-date-time, .cwn-location {
    display: block;
  }
  .cwn-date-time:before, .cwn-location:before {
    content: "";
  }
}


@media (max-width:543px) {
  .cwn-schedule {
    padding-left:0;
    padding-right:0;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .cwn-schedule {
    width: 100%;
  }
}


.card {
  overflow: hidden;
  margin-bottom:10px;
}
@media (max-width:543px) {
  .card {
    border-radius:0;
    margin-bottom:20px;
  }
}
@media (min-width: 544px) {
  .card {
    min-width: 400px;
  }
}
@media (min-width:992px) {
  .card {
    max-width: calc(50% - 16px);
  }
}


/* Fix Bootstrap dumbness so that cards in a deck can wrap to the next row */

@media (min-width: 544px) {
  .card-deck {
    margin-left: -8px;
    margin-right: -8px;
  }
  .card-deck .card {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 16px;
  }
  .card-deck .card:not(:last-child) {
    margin-right: 8px;
  }
  .card-deck .card:not(:first-child) {
    margin-left: 8px;
  }
}

@media (max-width:543px) {
  .time-slot-bracket {
    position:-webkit-sticky;
    position:sticky;
    top:0;
    z-index:1000;
    background:#EBE6DB;
  }
  .time-slot-title {
    font-weight:bold;
    margin-left:20px;
    font-size:1.2em;
  }
}
@media (min-width: 544px) {
  .time-slot {
    position:relative;
    margin-left:40px;
  }
  .time-slot-bracket {
    border-left:1px solid rgba(0,0,0,0.7);
    border-top:1px solid rgba(0,0,0,0.7);
    border-bottom:1px solid rgba(0,0,0,0.7);
    width:10px;
    position:absolute;
    height:calc(100% - 16px);
    left:-20px;
  }
  .time-slot-title {
    display:block;
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
    position: absolute;
    top: 28px;
    width: 80px;
    left: -55px;
    text-align: right;
  }
}

.card.workshop {
  box-shadow: 0 2px 16px rgba(0,0,0,0.1)
}

@media (max-width:543px) {
  .workshop-title {
    font-size: 1.5em;
  }
}

.workshop-title {
  letter-spacing: -0.5px;
  line-height: 1.2em;
  margin-bottom: 0.2em;
  z-index:1;
  position:relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
}

.workshop-title>span {
  box-shadow: inset 0 -0.1em #F96156;
}

.workshop-icon {
  position:absolute;
  top:-28px;
  right:-28px;
  color: #F96156;
  opacity:0.3;
  border: 8px solid #F96156;
  border-radius: 50%;
  padding:26px;
  z-index:0;
}

.workshop-icon i {
  font-size: 5em;
}

.group-title {
  display: inline-block;
  margin-bottom: 0.1em;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  font-size:1.2em;
  z-index:1;
}

.workshop-category {
  position:relative;
  background: #e5e5e5;
  color: #757575;
  padding:4px 8px;
  text-transform: uppercase;
  font-weight: bold;
  z-index: 1;
}

.workshop-time {
  display: inline-block;
  margin-bottom: 0.75em;
  font-weight: bold;
  text-transform: uppercase;
  font-size:1.2em;
}

.workshop-location {
  font-weight: bold;
  font-size:1.2em;
}

.workshop-location:before {
  content:"// ";
}

.workshop-location:empty:before {
  content:""
}

.workshop-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
}

.footer-spacer {
  height:80px;
}
@media (min-width: 544px) {
  .footer-spacer {
    height:60px;
  }
}

footer.fixed-bottom {
  background:#000;
  color:#fff;
}

footer.fixed-bottom p {
  margin: 10px 0;
}

@media (min-width: 992px) {
  footer.fixed-bottom p {
    font-size:1.5rem;
  }
}



.jumbotron .cwn-sponsors, footer .schedule-url {
  display:none;
}

/* Only on RER signage */
@media screen and (min-width: 1080px) and (min-height: 1920x) {
  .cwn-intro, .cwn-location {
    display:none;
  }
  .cwn-sponsors {
    display:block;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console