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

HTML

              
                <meta name="viewport" content="width=device-width, initial-scale=1">

<div id="calendar-wrap">
  <header> </header>
    <h1>August 2014</h1>
    <div id="calendar">
      <ul class="weekdays">
        <li>Monday</li>
        <li>Tuesday</li>
        <li>Wednesday</li>
        <li>Thursday</li>
        <li>Friday</li>
        <li>Saturday</li>
        <li>Sunday</li>
      </ul>

      <!-- week -->
      <ul class="days">
        <li class="day other-month">
          <div class="date">27</div>
        </li>
      

      
        <li class="day other-month">
          <div class="date">28</div>
        </li>
      

  
        <li class="day other-month">
          <div class="date">29</div>
        </li>
     

     
        <li class="day other-month">
          <div class="date">30</div>
        </li>
      

      
        <li class="day other-month">
          <div class="date">31</div>
        </li>
     

     
        <li class="day">
          <div class="date">1</div>
           <!-- EVENT START -->
          <div class="event">
            <div class="event-desc">
          Allegro job interview
            </div>
            <div class="event-time">
              10:00 AM to 1:00 PM
            </div>
          </div>
          <!-- EVENT END -->
        </li>
    

     
        <li class="day">
          <div class="date">2</div>
        </li>
      </ul>
      
      <!-- week -->
      <ul class="days">
        <li class="day">
          <div class="date">3</div>
        </li>
      

      
        <li class="day">
          <div class="date">4</div>
        </li>
      

     
        <li class="da">
          <div class="date">5</div>
        </li>
   

      
        <li class="day">
          <div class="date">6</div>
        </li>
      

     
        <li class="day">
          <div class="date">7</div>
        </li>
      

     
        <li class="day">
          <div class="date">8</div>
        </li>
    

     
        <li class="day">
          <div class="date">9</div>
        </li>
      </ul>
      
        <!-- week -->
      <ul class="days">
        <li class="day">
          <div class="date">10</div>
           <!-- EVENT START -->
          <div class="event">
            <div class="event-desc">
              CEO web design course
            </div>
            <div class="event-time">
              10:00 AM to 1:00 PM
            </div>
          </div>
          <!-- EVENT END -->
        </li>
      

     
        <li class="day">
          <div class="date">11</div>
        </li>
      

      
        <li class="da">
          <div class="date">12</div>
        </li>
     

     
        <li class="day">
          <div class="date">13</div>
        </li>
      

     
        <li class="day">
          <div class="date">14</div>
           <!-- EVENT START -->
          <div class="event">
            <div class="event-desc">
              Call of Cthulhu seasson online
            </div>
            <div class="event-time">
              8:00 PM to 10:00 PM
            </div>
          </div>
          <!-- EVENT END -->
        </li>
     

      
        <li class="day">
          <div class="date">15</div>
        </li>
     

     
        <li class="day">
          <div class="date">16</div>
        </li>
      </ul>
      
        <!-- week -->
      <ul class="days">
        <li class="day">
          <div class="date">17</div>
        </li>
     

    
        <li class="day">
          <div class="date">18</div>
        </li>
      

    
        <li class="da">
          <div class="date">19</div>
        </li>
      
 
        <li class="day">
          <div class="date">20</div>
        </li>
      

     
        <li class="day">
          <div class="date">21</div>
        </li>
    

     
        <li class="day">
          <div class="date">22</div>
        </li>
   
      
        <li class="day">
          <div class="date">23</div>
        </li>
      </ul>
      
        <!-- week -->
      <ul class="days">
        <li class="day">
          <div class="date">24</div>
        </li>
    

   
        <li class="day">
          <div class="date">25</div>
        </li>
    

     
        <li class="da">
          <div class="date">26</div>
        </li>
     

     
        <li class="day">
          <div class="date">27</div>
        </li>
    

      
        <li class="day">
          <div class="date">28</div>
          <!-- EVENT START -->
          <div class="event">
            <div class="event-desc">
              HTML lecture with Brad Traversy from Eduonix
            </div>
            <div class="event-time">
              1:00 PM to 3:00 PM
            </div>
          </div>
          <!-- EVENT END -->
        </li>
      

     
        <li class="day">
          <div class="date">29</div>
        </li>
    

     
        <li class="day">
          <div class="date">30</div>
        </li>
      </ul>
      
        <!-- week -->
      <ul class="days">
        <li class="day">
          <div class="date">31</div>
        </li>
     

     
        <li class="day other-month">
          <div class="date">1</div>
        </li>
  
     
        <li class="day other-month">
          <div class="date">2</div>
                  <!-- EVENT START -->
          <div class="event">
            <div class="event-desc">
              Career development classes at Brandon Uni.
            </div>
            <div class="event-time">
              2:00 PM to 6:00 PM
            </div>
          </div>
          <!-- EVENT END -->
        </li>
      
     
        <li class="day other-month">
          <div class="date">3</div>
        </li>
    

      
        <li class="day other-month">
          <div class="date">4</div>
        </li>
     

     
        <li class="day other-month">
          <div class="date">5</div>
        </li>
      

     
        <li class="day other-month">
          <div class="date">6</div>
                  <!-- EVENT START -->
          <div class="event">
            <div class="event-desc">
              Antropology studies with prof. Hackmann
            </div>
            <div class="event-time">
              5:00 PM to 7:00 PM
            </div>
          </div>
          <!-- EVENT END -->
        </li>
      </ul>
    </div>
 

</div>
<!-- /.wrap -->
              
            
!

CSS

              
                body{
  font-family: 'Tahoma';
}

#calendar{
  width: 100%;
}
#calendar a{
 color: #666;
  text-decoration: none;
}
#calendar ul{
  list-style: none;
  padding: 0;
  margin: 0;
  clear: both;
  width: 100%;
}
#calendar li{
  display: block;
  float:left;
  width: 14.2%;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  margin-right: 1px;
  margin-bottom: 1px;
}

#calendar ul.weekdays{
  height: 40px;
  background: #333;
}

#calendar ul.weekdays li{
  text-transform: uppercase;
  text-align: center;
  border: none !important;
  padding: 10px 6px;
  color: #fff;
  font-size: 13px;
  line-height: 20px;
}

#calendar .days li{
  height: 180px;
}

#calendar .days li:hover{
  background: #eee;
}

#calendar .date {
  text-align: center;
  margin-bottom: 5px;
  padding: 5px;
  background: #333;
  color: #fff;
  width: 25px;
  border-radius: 50%;
  float: right;
}

#calendar .event{
  clear: both;
  display: block;
  font-size: 13px;
  border-radius: 4px;
  padding: 5px;
  margin-top: 4px;
  margin-bottom: 5px;
  color: #666;
  line-height: 14px;
  background: #e4f2f2;
  border: 1px solid #b5dbdc;
  color: #009aaf;
  text-decoration: none;

}

#calendar .event-desc{
  color: #666;
  margin: 3px 0 7px 0;
  text-decoration: none;
}

#calendar .other-month{
  background: #f5f5f5;
  color: #666;
}

/****************___MEDIA____********************/
@media(max-width:768px){
  #calendar .weekdays, 
  #calendar .other-month 
  {
    display: none;
     }
  
  #calendar li{
    height: auto !important;
    border: 1px solid #ededed;
    width: 100%;
    padding: 10px;
    margin-bottom: -1px;    
  }
  
  #calendar .date{
    float:none;
  }
  
  
}



              
            
!

JS

              
                
              
            
!
999px

Console