Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <div class="container">
        
<div class="content">
    <div class="gw">
        <div class="g one-whole tablet-two-thirds">
            <h2>Event Calendar Tiles</h2>
            <div class="event-tiles-container">
            
            <div class="event event-tile one-half ">
                <div class="event-start">
                    <div class="event-start-date">13</div>
                    <div class="event-start-month"><small>sep</small></div>
                </div>
                
                <div class="event-end">
                    <div class="event-end-date">-&nbsp;15</div>
                    <div class="event-end-month"><small>sep</small></div>
                </div>
                
                <div class="event-title">Duluth Camping Trip</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        5:00 PM - 11:00 AM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Duluth, MN
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-1">
                <div class="event-start">
                    <div class="event-start-date">20</div>
                    <div class="event-start-month"><small>sep</small></div>
                </div>
                
                <div class="event-title">Bad Bad Hats Concert @ The Whole</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        5:30 PM - 8:00 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Coffman Memorial Union
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-2">
                <div class="event-start">
                    <div class="event-start-date">27</div>
                    <div class="event-start-month"><small>sep</small></div>
                </div>
                
                <div class="event-title">Glass Animals</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        6:30 PM - 11:00 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        St. Paul Theater
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-3">
                <div class="event-start">
                    <div class="event-start-date">03</div>
                    <div class="event-start-month"><small>oct</small></div>
                </div>
                
                <div class="event-title">Surly's Brewery Tour</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        2:00 PM - 3:30 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Surly's Brewery
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-4">
                <div class="event-start">
                    <div class="event-start-date">21</div>
                    <div class="event-start-month"><small>oct</small></div>
                </div>
                
                <div class="event-title">Homecoming Football Game</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        11:00 AM - 3:30 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        TCF Bank Stadium
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half ">
                <div class="event-start">
                    <div class="event-start-date">28</div>
                    <div class="event-start-month"><small>oct</small></div>
                </div>
                
                <div class="event-title">Spirited Away</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        7:00 PM - 9:30 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Theater Downtown
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-1">
                <div class="event-start">
                    <div class="event-start-date">31</div>
                    <div class="event-start-month"><small>oct</small></div>
                </div>
                
                <div class="event-end">
                    <div class="event-end-date">-&nbsp;01</div>
                    <div class="event-end-month"><small>nov</small></div>
                </div>
                
                <div class="event-title">Halloween Bash</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        9:00 PM - 2:00 AM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        The Library
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-2">
                <div class="event-start">
                    <div class="event-start-date">05</div>
                    <div class="event-start-month"><small>nov</small></div>
                </div>
                
                <div class="event-title">Comedy Show</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        7:00 PM - 10:30 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Skyway Theater Minneapolis
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-3">
                <div class="event-start">
                    <div class="event-start-date">17</div>
                    <div class="event-start-month"><small>nov</small></div>
                </div>
                
                <div class="event-title">Open Season Minneapolis</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        11:00 AM - 2:30 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Sculpture Garden
                    </small>
                </div>
                
            </div>
            
            <div class="event event-tile one-half alternate-4">
                <div class="event-start">
                    <div class="event-start-date">25</div>
                    <div class="event-start-month"><small>nov</small></div>
                </div>
                
                <div class="event-title">Howl's Moving Castle</div>
                
                <div class="event-time">
                    <small>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                        7:00 PM - 9:30 PM
                    </small>
                </div>
                
                
                <div class="event-location">
                    <small>
                        <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                        Theater Downtown
                    </small>
                </div>
                
            </div>
            
            </div>
        </div>

        <div class="g one-whole tablet-one-third">
            <h2>Event Calendar Cards</h2>
            <div class="event-cards-container">
            
            <div class="event event-card one-half ">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">13</div>
                        <div class="event-start-month"><small>sep</small></div>
                    </div>
                    
                    <div class="event-end">
                        <div class="event-end-date">-&nbsp;15</div>
                        <div class="event-end-month"><small>&nbsp;sep</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Duluth Camping Trip</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            5:00 PM - 11:00 AM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Duluth, MN
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-1">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">20</div>
                        <div class="event-start-month"><small>sep</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Bad Bad Hats Concert @ The Whole</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            5:30 PM - 8:00 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Coffman Memorial Union
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-2">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">27</div>
                        <div class="event-start-month"><small>sep</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Glass Animals</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            6:30 PM - 11:00 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            St. Paul Theater
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-3">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">03</div>
                        <div class="event-start-month"><small>oct</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Surly's Brewery Tour</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            2:00 PM - 3:30 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Surly's Brewery
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-4">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">21</div>
                        <div class="event-start-month"><small>oct</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Homecoming Football Game</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            11:00 AM - 3:30 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            TCF Bank Stadium
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half ">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">28</div>
                        <div class="event-start-month"><small>oct</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Spirited Away</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            7:00 PM - 9:30 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Theater Downtown
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-1">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">31</div>
                        <div class="event-start-month"><small>oct</small></div>
                    </div>
                    
                    <div class="event-end">
                        <div class="event-end-date">-&nbsp;01</div>
                        <div class="event-end-month"><small>&nbsp;nov</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Halloween Bash</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            9:00 PM - 2:00 AM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            The Library
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-2">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">05</div>
                        <div class="event-start-month"><small>nov</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Comedy Show</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            7:00 PM - 10:30 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Skyway Theater Minneapolis
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-3">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">17</div>
                        <div class="event-start-month"><small>nov</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Open Season Minneapolis</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            11:00 AM - 2:30 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Sculpture Garden
                        </small>
                    </div>
                    
                </div>
            </div>
            
            <div class="event event-card one-half alternate-4">
                <div class="event-card-date">
                    <div class="event-start">
                        <div class="event-start-date">25</div>
                        <div class="event-start-month"><small>nov</small></div>
                    </div>
                    
                </div>
                <div class="event-card-details">
                    <div class="event-title">Howl's Moving Castle</div>
                    
                    <div class="event-time">
                        <small>
                            <i class="fa fa-clock-o"></i>&nbsp;&nbsp;
                            7:00 PM - 9:30 PM
                        </small>
                    </div>
                    
                    
                    <div class="event-location">
                        <small>
                            <i class="fa fa-map-marker"></i>&nbsp;&nbsp;
                            Theater Downtown
                        </small>
                    </div>
                    
                </div>
            </div>
            
            </div>
        </div>
    </div>
</div>

        </div>
            
          
!
            
              .nav {
  position: relative;
}
.event-tiles-container {
  display: flex;
  flex-flow: row wrap;
  overflow: hidden;
  border-radius: 5px;
}
.event-tile {
  padding: 1.6rem !important;
  color: #f7f7f7;
  background: #edab5c;
  flex: 2 1 250px;
}
.event-tile .event-title {
  text-transform: uppercase;
  padding: 0.7rem 0;
  clear: both;
}
.event-tile .event-start,
.event-tile .event-end {
  text-transform: uppercase;
  float: left;
}
.event-tile .event-start-date {
  font-size: 1.4rem;
  margin-bottom: -5px;
}
.event-tile .event-end-date {
  font-size: 0.9rem;
  margin-bottom: -2px;
}
.event-tile .event-start-month,
.event-tile .event-end-month {
  text-align: right;
}
.event-tile .event-end {
  opacity: 0.9;
  font-size: 65%;
  padding-left: 5px;
}
.event-tile .event-time,
.event-tile .event-location {
  font-size: 80%;
}
.event-tile.alternate-1 {
  background-color: #f76383;
}
.event-tile.alternate-2 {
  background-color: #835de0;
}
.event-tile.alternate-3 {
  background-color: #2997b0;
}
.event-tile.alternate-4 {
  background-color: #60c94e;
}
.event-cards-container {
  border-radius: 5px;
  overflow: hidden;
}
.event-cards-container .event-card {
  color: #5d5d5d;
  border: solid 1px #ddd;
  border-left-color: #edab5c;
  border-left-width: 5px;
  border-bottom: 0;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: 5.5rem auto;
}
.event-cards-container .event-card .event-title {
  color: #444;
  text-transform: uppercase;
  clear: both;
}
.event-cards-container .event-card .event-start,
.event-cards-container .event-card .event-end {
  text-transform: uppercase;
}
.event-cards-container .event-card .event-start,
.event-cards-container .event-card .event-end {
  color: #8c8c8c;
  float: left;
}
.event-cards-container .event-card .event-start-date {
  font-size: 1.4rem;
  margin-bottom: -5px;
}
.event-cards-container .event-card .event-end-date {
  font-size: 0.9rem;
  margin-bottom: -2px;
}
.event-cards-container .event-card .event-start-month,
.event-cards-container .event-card .event-end-month {
  text-align: right;
}
.event-cards-container .event-card .event-end {
  opacity: 0.9;
  font-size: 65%;
  padding-left: 5px;
}
.event-cards-container .event-card .event-time,
.event-cards-container .event-card .event-location {
  font-size: 80%;
}
.event-cards-container .event-card:last-child {
  border-bottom: 1px solid #ddd;
}
.event-card.alternate-1 {
  border-left-color: #f76383;
}
.event-card.alternate-2 {
  border-left-color: #835de0;
}
.event-card.alternate-3 {
  border-left-color: #2997b0;
}
.event-card.alternate-4 {
  border-left-color: #60c94e;
}


            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console