HTML code
Clean, semantic HTML that powers this Bootstrap 3.3.4 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="movie-ticket">
<div class="container-fluid">
<!-- Item -->
<div class="ui-item">
<!-- Head -->
<div class="ui-head">
<!-- Background Image -->
<img src="https://www.bootdey.com/image/800x400/48D1CC/000000" alt="" class="img-responsive bg-img">
<!-- Transparent Background -->
<div class="ui-trans clearfix">
<!-- Image -->
<img src="https://www.bootdey.com/image/300x300/87CEFA/000000" alt="" class="img-responsive">
<!-- Details -->
<div class="ui-details clearfix">
<!-- Movie Name -->
<h2><a href="#">Final destination</a></h2>
<!-- Labels -->
<a href="#" class="label">2014</a>
<a href="#" class="label">PG - 13</a>
<a href="#" class="label">143 min</a>
<a href="#" class="label">Action</a>
<a href="#" class="label">Adventures</a>
<!-- Paragraph -->
<p>Nemo enim ipsam volup tatem quia volup tas sit asper natur aut odit aut fugit volup quia volup tas sit asper natur aut odit aut fugit volup tatem sequi nesc iunt.</p>
<!-- Heading -->
<h4><span>Director</span>:</h4>
<!-- Director Name -->
<h5><a href="#">Joss Whedon</a></h5>
<!-- Heading -->
<h4><span>Writers</span>:</h4>
<!-- Writers -->
<h5><a href="#"> Joss Whedon (screenplay), Zak Penn (story)</a></h5>
<!-- Heading -->
<h4><span>Stars</span>:</h4>
<!-- Stars -->
<h5><a href="#">Slorm Mckency. ,</a> <a href="#">Maring lawyent ,</a> <a href="#">Lowin cleanting</a></h5>
</div>
</div>
</div>
<!-- Review -->
<div class="ui-review">
<!-- Heading -->
<h3>Final destination</h3>
<!-- Paragraph -->
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.</p>
<!-- Buttons -->
<a href="#" class="ui-btn bg-red"><i class="fa fa-ticket"></i> Buy Tickets</a>
<a href="#" class="ui-btn bg-green"><i class="fa fa-dot-circle-o"></i> Buy DVDs</a>
</div>
</div>
</div>
</div> CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 3.3.4 to keep the design, spacing, and responsiveness consistent.
Download@import url('http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,400,600,700');
p {
margin: 2px 0px;
padding: 0px;
margin-bottom:5px;
line-height:28px;
}
a{
text-decoration: none;
color: #777;
}
a:hover,a:active,a:focus {
outline: 0;
text-decoration: none;
color: #999;
}
hr {
margin: 10px 0px;
padding: 0px;
border-top: 0px;
border-bottom: 1px solid #eee;
}
.bg-red {
background-color: #f75353 !important;
}
.bg-green {
background-color: #51d466 !important;
}
/* General CSS */
body{
background:#f4f8fd;
}
/* UI - X */
.movie-ticket{
max-width: 650px;
margin: 60px auto;
}
/* Head */
.movie-ticket .ui-item .ui-head{
position: relative;
border-top-left-radius:5px;
border-top-right-radius:5px;
}
.movie-ticket .ui-item .ui-head img.bg-img{
border-top-left-radius:5px;
border-top-right-radius:5px;
}
@media(max-width: 660px){
.movie-ticket .ui-item .ui-head img.bg-img{
display: none;
}
}
/* Transparent Background */
.movie-ticket .ui-head .ui-trans{
background: rgba(0,0,0,0.6);
width: 100%;
height: 100%;
position: absolute;
top: 0px;
padding: 25px;
border-top-left-radius:5px;
border-top-right-radius:5px;
}
@media(max-width: 660px){
.movie-ticket .ui-head .ui-trans{
background: #fff;
position: inherit;
border:1px solid #ddd;
border-bottom:0px;
}
}
.movie-ticket .ui-head .ui-trans img{
max-width: 180px;
float: left;
border:1px solid rgba(255,255,255,0.3);
box-shadow: 0px 0px 10px 0px #000;
}
@media(max-width: 660px){
.movie-ticket .ui-item .ui-trans img{
float: none;
margin-bottom: 15px;
box-shadow:none;
}
}
/* Details */
.movie-ticket .ui-trans .ui-details{
margin-left: 205px;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details{
margin-left: 0px;
}
}
/* Heading */
.movie-ticket .ui-trans .ui-details h2{
font-size: 28px;
line-height:38px;
font-weight:300;
}
.movie-ticket .ui-trans .ui-details h2 > a{
color: #fff;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details h2 > a{
color: #555;
}
}
/* Label */
.movie-ticket .ui-trans .ui-details a.label{
border: 1px solid rgba(255, 255, 255, 0.3);
margin:5px 2px;
display: inline-block;
background:rgba(0,0,0,0.3);
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details a.label{
border: 1px solid #ccc;
color: #555;
background:transparent;
}
}
.movie-ticket .ui-trans .ui-details p{
font-size: 12px;
line-height: 23px;
color: #fff;
margin-bottom: 5px;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details p{
color: #555;
}
}
/* Small Headings */
.movie-ticket .ui-trans .ui-details h4{
color: #fff;
font-size: 12px;
line-height: 23px;
margin: 0px;
width: 100px;
float: left;
font-weight: 600;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details h4{
color: #555;
width: 70px;
}
}
.movie-ticket .ui-trans .ui-details h4 > span{
display: inline-block;
width: 75px;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details h4 > span{
width: 55px;
}
}
.movie-ticket .ui-trans .ui-details h5{
margin-left: 100px;
font-size: 12px;
line-height: 23px;
font-weight: 400;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details h5{
margin-left: 65px;
}
}
.movie-ticket .ui-trans .ui-details h5 > a{
color: #fff;
}
@media(max-width: 660px){
.movie-ticket .ui-trans .ui-details h5 > a{
color: #555;
}
}
/* Review */
.movie-ticket .ui-item .ui-review{
border:1px solid #ddd;
padding: 15px 20px 15px;
border-top:0px;
background:#fff;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
}
@media(max-width: 660px){
.movie-ticket .ui-item .ui-review{
border-top:1px solid #ddd;
}
}
/* Heading */
.movie-ticket .ui-item .ui-review h3{
font-size: 16px;
line-height: 26px;
display: inline-block;
}
/* Paragraph */
.movie-ticket .ui-item .ui-review p{
font-size: 13px;
line-height: 28px;
color: #777;
margin-bottom:10px;
}
/* Button */
.movie-ticket .ui-item .ui-review a.ui-btn{
display: inline-block;
margin: 0px 5px 8px 0px;
padding: 5px 10px;
color: #fff;
font-size: 13px;
line-height: 23px;
font-weight: 600;
border-radius: 2px;
}
.movie-ticket .ui-item .ui-review a.ui-btn > i{
border-right: 1px solid rgba(0,0,0,0.1);
padding-right: 7px;
margin-right: 3px;
}
FAQ
How do I use this snippet?
Include Bootstrap 3.3.4, 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.4.
About this bootstrap example/template
This free Bootstrap 3.3.4 snippet, movie ticket, was published on Apr 10th 2015, 20:23 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 12.7K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 3.3.4
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.3.4 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