HTML code
Clean, semantic HTML that powers this Bootstrap 3.3.7 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<section class="container">
<h1>Events</h1>
<div class="row">
<article class="card fl-left">
<section class="date">
<time datetime="23th feb">
<span>23</span><span>feb</span>
</time>
</section>
<section class="card-cont">
<small>dj khaled</small>
<h3>live in sydney</h3>
<div class="even-date">
<i class="fa fa-calendar"></i>
<time>
<span>wednesday 28 december 2014</span>
<span>08:55pm to 12:00 am</span>
</time>
</div>
<div class="even-info">
<i class="fa fa-map-marker"></i>
<p>
nexen square for people australia, sydney
</p>
</div>
<a href="#">tickets</a>
</section>
</article>
<article class="card fl-left">
<section class="date">
<time datetime="23th feb">
<span>23</span><span>feb</span>
</time>
</section>
<section class="card-cont">
<small>dj khaled</small>
<h3>corner obsest program</h3>
<div class="even-date">
<i class="fa fa-calendar"></i>
<time>
<span>wednesday 28 december 2014</span>
<span>08:55pm to 12:00 am</span>
</time>
</div>
<div class="even-info">
<i class="fa fa-map-marker"></i>
<p>
nexen square for people australia, sydney
</p>
</div>
<a href="#">tickets</a>
</section>
</article>
</div>
<div class="row">
<article class="card fl-left">
<section class="date">
<time datetime="23th feb">
<span>23</span><span>feb</span>
</time>
</section>
<section class="card-cont">
<small>dj khaled</small>
<h3>music kaboom festivel</h3>
<div class="even-date">
<i class="fa fa-calendar"></i>
<time>
<span>wednesday 28 december 2014</span>
<span>08:55pm to 12:00 am</span>
</time>
</div>
<div class="even-info">
<i class="fa fa-map-marker"></i>
<p>
nexen square for people australia, sydney
</p>
</div>
<a href="#">booked</a>
</section>
</article>
<article class="card fl-left">
<section class="date">
<time datetime="23th feb">
<span>23</span><span>feb</span>
</time>
</section>
<section class="card-cont">
<small>dj khaled</small>
<h3>hello dubai festivel</h3>
<div class="even-date">
<i class="fa fa-calendar"></i>
<time>
<span>wednesday 28 december 2014</span>
<span>08:55pm to 12:00 am</span>
</time>
</div>
<div class="even-info">
<i class="fa fa-map-marker"></i>
<p>
nexen square for people australia, sydney
</p>
</div>
<a href="#">cancel</a>
</section>
</article>
</div>
</section>
CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 3.3.7 to keep the design, spacing, and responsiveness consistent.
Download@import url('https://fonts.googleapis.com/css?family=Oswald');
* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box
}
body {
background-color: #dadde6;
font-family: arial
}
.fl-left {
float: left
}
.fl-right {
float: right
}
h1 {
text-transform: uppercase;
font-weight: 900;
border-left: 10px solid #fec500;
padding-left: 10px;
margin-bottom: 30px
}
.row {
overflow: hidden
}
.card {
display: table-row;
width: 49%;
background-color: #fff;
color: #989898;
margin-bottom: 10px;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
border-radius: 4px;
position: relative
}
.card+.card {
margin-left: 2%
}
.date {
display: table-cell;
width: 25%;
position: relative;
text-align: center;
border-right: 2px dashed #dadde6
}
.date:before,
.date:after {
content: "";
display: block;
width: 30px;
height: 30px;
background-color: #DADDE6;
position: absolute;
top: -15px;
right: -15px;
z-index: 1;
border-radius: 50%
}
.date:after {
top: auto;
bottom: -15px
}
.date time {
display: block;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%)
}
.date time span {
display: block
}
.date time span:first-child {
color: #2b2b2b;
font-weight: 600;
font-size: 250%
}
.date time span:last-child {
text-transform: uppercase;
font-weight: 600;
margin-top: -10px
}
.card-cont {
display: table-cell;
width: 75%;
font-size: 85%;
padding: 10px 10px 30px 50px
}
.card-cont h3 {
color: #3C3C3C;
font-size: 130%
}
.row:last-child .card:last-of-type .card-cont h3 {
text-decoration: line-through
}
.card-cont>div {
display: table-row
}
.card-cont .even-date i,
.card-cont .even-info i,
.card-cont .even-date time,
.card-cont .even-info p {
display: table-cell
}
.card-cont .even-date i,
.card-cont .even-info i {
padding: 5% 5% 0 0
}
.card-cont .even-info p {
padding: 30px 50px 0 0
}
.card-cont .even-date time span {
display: block
}
.card-cont a {
display: block;
text-decoration: none;
width: 80px;
height: 30px;
background-color: #D8DDE0;
color: #fff;
text-align: center;
line-height: 30px;
border-radius: 2px;
position: absolute;
right: 10px;
bottom: 10px
}
.row:last-child .card:first-child .card-cont a {
background-color: #037FDD
}
.row:last-child .card:last-child .card-cont a {
background-color: #F8504C
}
@media screen and (max-width: 860px) {
.card {
display: block;
float: none;
width: 100%;
margin-bottom: 10px
}
.card+.card {
margin-left: 0
}
.card-cont .even-date,
.card-cont .even-info {
font-size: 75%
}
}FAQ
How do I use this snippet?
Include Bootstrap 3.3.7, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.
Can I use it in commercial projects?
Yes. It’s free for personal and commercial work; check the snippets license for details.
Is it responsive?
Yes. It inherits the responsive grid and components from Bootstrap 3.3.7.
About this bootstrap example/template
This free Bootstrap 3.3.7 snippet, tickets for events, was published on Jun 29th 2017, 22:50 by Bootdey Admin.
Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.
Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.
Already trusted in 50.2K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 3.3.7
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.3.7 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working