event blocks

This bootstrap snippet called "event blocks" was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code
tags: event,blocks

This is the HTML code for this bootstrap snippet

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview tab

<div class="row">
    <div class="col-md-6">
      <!-- START widget-->
      <div class="panel widget">
         <div class="row row-table row-flush">
            <div class="col-xs-5">
               <picture class="lateral-picture">
                  <img src="https://lorempixel.com/400/400/technics/7/" alt="">
               </picture>
            </div>
            <div class="col-xs-7 align-middle p-lg">
               <div class="pull-right"><a href="#" class="btn btn-primary btn-sm">Register</a>
               </div>
               <p>
                  <span class="text-lg">16</span>Aug</p>
               <p>
                  <strong>EVENT INVITATION</strong>
               </p>
               <p>Donec posuere neque in elit luctus tempor consequat enim egestas. Nulla dictum egestas leo at lobortis.</p>
            </div>
         </div>
      </div>
      <!-- END widget-->
    </div>
    <div class="col-md-6">
      <!-- START widget-->
      <div class="panel widget">
         <div class="row row-table row-flush">
            <div class="col-xs-5">
               <picture class="lateral-picture">
                  <img src="https://lorempixel.com/400/400/technics/1/" alt="">
               </picture>
            </div>
            <div class="col-xs-7 align-middle p-lg">
               <div class="pull-right"><a href="#" class="btn btn-primary btn-sm">Register</a>
               </div>
               <p>
                  <span class="text-lg">16</span>Aug</p>
               <p>
                  <strong>EVENT INVITATION</strong>
               </p>
               <p>Donec posuere neque in elit luctus tempor consequat enim egestas. Nulla dictum egestas leo at lobortis.</p>
            </div>
         </div>
      </div>
      <!-- END widget-->
    </div>
</div>

This is the CSS code for this bootstrap snippet

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview

body {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.52857143;
  color: #515253;
  background-color: #f5f7fa;
  margin-top:20px;
}

.widget .panel, .widget.panel {
  overflow: hidden;
}

.widget {
  margin-bottom: 20px;
  border: 0;
}

.row-table {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
  margin: 0;
}

.row-flush>[class*=col-] {
  padding-left: 0;
  padding-right: 0;
}

.row-table>[class*=col-] {
  display: table-cell;
  float: none;
  table-layout: fixed;
  vertical-align: middle;
}

.widget .lateral-picture {
  position: relative;
  display: block;
  height: 240px;
  width: auto;
  overflow: hidden;
}

.widget .lateral-picture>img {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 100%;
  width: auto;
}

.align-middle {
  vertical-align: middle;
}

.p-lg {
  padding: 15px!important;
}

.btn {
  border-radius: 3px;
  font-size: 13px;
  border-color: transparent;
  -webkit-appearance: none;
  outline: 0!important;
  -webkit-transition: all .1s;
  -o-transition: all .1s;
  transition: all .1s;
}
                                    

Information about this bootstrap snippet

Creator: Dey Dey

Bootstrap version: 3.3.4

Created: Jun 7th 2015, 13:10

Views: 3.8K

Rated 5/5 based on 1 reviews