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

              
                <!-- Modify the Background Image -->
<img class="bg cover z" src="https://meetingroom365.com/display/images/bg.jpg">

<!-- Do not modify HTML -->
<div class="left-bg"></div>

<div class="meetings in">

  <div class="meeting z passed" data-st="Sep 10 2016" data-et="Sep 10 2016">
    <h3>11:00am – 12:30pm</h3>
    <h2>Demo Meeting</h2>
    <h4>Bob Thompson and 3 others</h4>
  </div>

  <div class="meeting z current empty">
    <h3>NOW</h3>
    <h2 class="available">ROOM AVAILABLE</h2>
    <h4>TAP HERE TO RESERVE FOR 15 MINUTES</h4>
  </div>

  <div class="meeting z current">
    <h3>1:00pm – 1:30pm</h3>
    <h2 class="available">Reserved for 15 minutes</h2>
    <h4>Meeting Room #demo</h4>
  </div>

  <div class="meeting z">
    <h3>2:00pm – 2:30pm</h3>
    <h2>Meeting Title or Name</h2>
    <h4>Josh Thompson and 1 other</h4>
  </div>

  <div class="meeting z">
    <h3>3:00pm – 3:30pm</h3>
    <h2>Meeting Title or Name</h2>
    <h4>Josh Thompson and 1 other</h4>
  </div>

</div>

<div class="top right">
  <h1>Meeting Room</h1>
  <h2 class="available">•&nbsp;AVAILABLE</h2>
  <h2 class="occupied">•&nbsp;OCCUPIED</h2>
</div>
<div class="bottom right">
  <h1>Thursday, January 25, 2018</h1>
  <h2>2:40am</h2>
</div>
<!-- Do not modify HTML -->
              
            
!

CSS

              
                /* Base styles, for reference only */
/* (Don't modify this) */
@import url("//fonts.googleapis.com/css?family=Lato:400,300,200,400italic,500,500italic");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #fff;
    font-family: Lato, sans-serif;
    font-weight: 300;
    background: #000;
}
body * {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.z {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
.cover {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.left-bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 500px;
    min-height: 100%;
    min-height: 100vh;
    background-color: #020616;
    background: #001b38;
    background: -moz-linear-gradient(left, rgba(0,27,56,0.85) 0%, rgba(0,27,56,0.85) 5%, rgba(0,27,56,0) 100%);
    background: -webkit-linear-gradient(left, rgba(0,27,56,0.85) 0%, rgba(0,27,56,0.85) 5%, rgba(0,27,56,0) 100%);
    background: linear-gradient(to right, rgba(0,27,56,0.85) 0%, rgba(0,27,56,0.85) 5%, rgba(0,27,56,0) 100%);
}
.meetings.demo {
    display: none;
}
.meetings {
    position: absolute;
    left: -25px;
    top: 36px;
}
.meetings.in .meeting {
    opacity: 0.75;
    transform: translateX(25px);
}
.meetings .meeting:hover {
    opacity: 0.85;
    transform: translateX(32px);
    cursor: pointer;
}
.meetings.in .meeting.current {
    transform: translateX(100px);
}
.meetings .meeting.current:hover {
    opacity: 0.9;
    transform: translateX(112px);
    cursor: pointer;
}
.meeting {
    background-color: #001b38;
    width: 500px;
    height: 120px;
    margin-bottom: 20px;
    padding: 15px 25px 15px 50px;
    opacity: 0;
    transition: all 300ms ease-in-out;
}
.meeting h2 {
    font-weight: 300;
    font-size: 28.8px;
    margin-bottom: 4px;
    width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.meeting h3 {
    font-weight: 200;
    font-size: 22.4px;
    margin-bottom: 1px;
    letter-spacing: 0.5px;
    opacity: 0.85;
}
.meeting h4 {
    font-weight: 200;
    font-size: 16px;
    letter-spacing: 0.5px;
    opacity: 0.85;
}
.meeting.current {
    background-color: #13365b;
    height: 165px;
    width: 600px;
    padding: 20px 25px 20px 50px;
    margin-left: -75px;
}
.meeting.current h2 {
    font-size: 36px;
    margin-bottom: 10px;
    transition: all 300ms ease-in-out;
}
.meeting.current h2.available {
    color: #9ce051;
    font-weight: 400;
}
.meeting.current h3 {
    font-size: 28px;
    margin-bottom: 8px;
    transition: all 300ms ease-in-out;
}
.meeting.current h4 {
    font-size: 20px;
    transition: all 300ms ease-in-out;
}
.meeting.passed {
    opacity: 0.5 !important;
}
.meeting.passed h2,
.meeting.passed h3,
.meeting.passed h4 {
    color: #555 !important;
}
.meeting:nth-of-type(1) {
    transition-delay: 100ms;
}
.meeting:nth-of-type(2) {
    transition-delay: 150ms;
}
.meeting:nth-of-type(3) {
    transition-delay: 220ms;
}
.meeting:nth-of-type(4) {
    transition-delay: 280ms;
}
.meeting:nth-of-type(5),
.meeting:nth-of-type(6),
.meeting:nth-of-type(7),
.meeting:nth-of-type(8),
.meeting:nth-of-type(9) {
    transition-delay: 320ms;
}
.top.right {
    position: fixed;
    top: 36px;
    right: 36px;
    text-align: right;
}
.top.right h1 {
    font-size: 40px;
    font-weight: 500;
}
.top.right h2 {
    font-size: 32px;
}
.top.right h2.available {
    color: #9ce051;
}
.top.right h2.occupied {
    color: #e05151;
}
.bottom.right {
    position: fixed;
    bottom: 36px;
    right: 36px;
    text-align: right;
}
.bottom.right h1 {
    font-weight: 200;
    font-size: 24px;
}
.bottom.right h2 {
    font-weight: 300;
    font-size: 100px;
}
.meetings .meeting.current.reserving {
    transition: all 2s linear;
    background: #2B79CC;
}
.empty h4 span {
    background: #fff;
    color: #001b38;
    padding: 5px 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.meeting.empty {
    position: relative;
}
.noselect, .meeting, h1, h2, h3, h4 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.meeting.current.empty.reserving, .meeting.reserving h2, .meeting.reserving h3, .meeting.reserving h4 {
    -webkit-touch-callout: initial !important;
    -webkit-user-select: initial !important;
    -moz-user-select: initial !important;
    -ms-user-select: initial !important;
    user-select: initial !important;
}
/* a few small, recent fixes */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.meetings {
    top: 0;
    left: -32px;
    right: 0;
    bottom: 0;
    padding-top: 36px;
    overflow-y: scroll;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    width: 100%;
    height: 100%;
}
/* Very small devices, like the Kindle Fire 6" */
@media screen and (max-width: 1000px) {
    html {
        -moz-transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        transform-origin: 0 0;

        -moz-transform: scale(0.75);
        -webkit-transform: scale(0.75);
        -ms-transform: scale(0.75);
        transform: scale(0.75);

        width: 133.33%;
        height: 133.33%;
        width: 133.33vw;
        height: 133.33vh;
    }
    body {
        width: 133.33%;
        height: 133.33%;
        width: 133.33vh;
        height: 133.33vh;
    }
    .meetings {
        height: 133%;
        height: 133vh;
    }
}
/* Portrait on some devices */
@media screen and (max-width: 600px) {
    .meetings {
        max-height: calc(133vh - 340px);
        top: 140px;
    }
    .cover {
        transform: scale(2);
    }
}

/* Overrides (Your customizations after this line) */
/* When you're done, paste these customizations into your tablet configuration */



/* ALTERNATE LAYOUT (uncomment to use) */

/* .meetings { 
        top: initial;
        left: initial;
        right: initial;
        bottom: initial;
        padding-top: initial;
        overflow-y: initial;
        width: initial;
        height: initial;
      } */
/* .meeting.z:not(.current) {
        display: none;
      }
      .meeting.current {
        height: 100vh;
        width: 42vw;
        padding-top: calc(48vh - 100px);
        padding-left: 25px;
        margin-bottom: 0;
        transform: initial !important;
      }
      .meeting.current h2 {
        font-size: 36px;
      }
      .meeting.current h3 {
        font-size: 32px;
      }
      .meeting.current h4 {
        font-size: 24px;
      }
      .meetings {
        top: 0;
      }
      .meetings.in {
        right: 0;
        left: initial;
      }
      .bottom.right {
        right: initial;
        left: 36px;
        text-align: left;
      }
      .top.right {
        right: initial;
        left: 5vw;
        max-width: 46vw;
        width: 100%;
        top: calc(50vh - 130px);
        text-align: left;
      }
      .top.right h1 {
        font-size: 54px;
        display: inline-block;
        text-transform: uppercase;
        width: 100%;
        padding-bottom: 10px;
      }
      .top.right h2 {
        font-size: 28px;
      }
      .top.right h2:after {
        content: '6 👤 CAPACITY';
        display: block;
        color: #fff;
        font-size: 20px;
        margin-top: 5px;
        margin-left: 2px;
        line-height: 1.75;
        max-width: 150px;
      }
      @media screen and (max-width: 1000px) {
        .meeting.current {
          height: 133.33vh;
          width: 56vw;
        }
      } */
/* END ALTERNATE LAYOUT */





/* Red theme (Uncomment to test) */

/* .meeting, .meeting.current { background-color: #230000; }

.left-bg {
    background: #230000;
    background: -moz-linear-gradient(left,rgba(36,0,0,0.85) 0%,rgba(36,0,0,0.85) 5%,rgba(36,0,0,0) 100%);
    background: -webkit-linear-gradient(left,rgba(36,0,0,0.85) 0%,rgba(36,0,0,0.85) 5%,rgba(36,0,0,0) 100%);
    background: linear-gradient(to right,rgba(36,0,0,0.85) 0%,rgba(36,0,0,0.85) 5%,rgba(36,0,0,0) 100%);
} */

/* END RED THEME */





/* Green theme (Uncomment to use) */

/* .meeting, .meeting.current { background-color: #021707; }

.left-bg {
  background: #021707;
  background: -moz-linear-gradient(left,rgba(2,23,7,0.85) 0%,rgba(2,23,7,0.85) 5%,rgba(2,23,7,0) 100%);
  background: -webkit-linear-gradient(left,rgba(2,23,7,0.85) 0%,rgba(2,23,7,0.85) 5%,rgba(2,23,7,0) 100%);
  background: linear-gradient(to right,rgba(2,23,7,0.85) 0%,rgba(2,23,7,0.85) 5%,rgba(2,23,7,0) 100%);
} */
/* END GREEN THEME */



/* Hide the Date (Uncomment to use) */

/* .bottom.right h1 {
  display: none;
} */



/* Hide meetings that have already occurred (Uncomment to use) */

/* .meeting.passed {
  display: none;
} */

/* Hide past meetings */
/* .meeting.past {
  display: none;
}  */

/* Fade BG Opacity */
/* .cover,
.video {
  opacity: 0.5;
}  */

/* Full-page cover image */
/* .bg.cover.z.hidden.available {
  display: block !important;
  background: url(https://images.unsplash.com/photo-1503550012877-0b1cde05feb5?auto=format&fit=crop&w=960&q=80&ixid=dW5zcGxhc2guY29tOzs7Ozs%3D)
    no-repeat center center fixed;
  background-size: cover;
}
@media screen and (max-width: 1000px) {
  .bg.cover.z.hidden.available {
    width: 133.33vw;
    height: 133.33vh;
  }
}  */

/* Use Black Text */
/* .top.right h1,
.top.right h2,
.bottom.right h1,
.bottom.right h2 {
  color: #0f0f0f;
}  */

/* Tweak Clock Font Size (Date) */
/* .bottom.right h1 {
  font-size: 24px;
}  */

/* Tweak Clock Font Size (Time) */
/* .bottom.right h2 {
  font-size: 100px;
}  */

/* Tweak Font Size (Room Name) */
/* .top.right h1 {
  font-size: 40px;
}  */

/* Tweak Font Size (Room Status) */
/* .top.right h2 {
  font-size: 32px;
}  */

/* Tweak Logo Sizes */
/* .logo {
  height: 40px !important;
  max-height: 40px !important;
}  */

/* Android 4 Fix */
/* .meetings {
  top: initial;
  left: initial;
  right: initial;
  bottom: initial;
  padding-top: initial;
  overflow-y: initial;
  width: initial;
  height: initial;
}
.meetings {
  top: 0;
}
.meetings.in {
  left: 50px;
  right: initial;
}  */

/* Status-bound bars */
/* .occupied .cover,
.occupied .video {
  border-top: 15px solid #f44c67;
  border-bottom: 15px solid #f44c67;
}
.available .cover,
.available .video {
  border-top: 15px solid #2fca74;
  border-bottom: 15px solid #2fca74;
} */



              
            
!

JS

              
                
              
            
!
999px

Console