"Plans and Pricing"
Bootstrap 3.0.0 Snippet by BhaumikPatel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-3">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
Bronze</h3>
</div>
<div class="panel-body">
<div class="the-price">
<h1>
$10<span class="subscript">/mo</span></h1>
<small>1 month FREE trial</small>
</div>
<table class="table">
<tr>
<td>
1 Account
</td>
</tr>
<tr class="active">
<td>
1 Project
</td>
</tr>
<tr>
<td>
100K API Access
</td>
</tr>
<tr class="active">
<td>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body
{
margin-top: 20px;
}
.panel
{
text-align: center;
}
.panel:hover { box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35); }
.panel-body
{
padding: 0px;
text-align: center;
}
.the-price
{
background-color: rgba(220,220,220,.17);
box-shadow: 0 1px 0 #dcdcdc, inset 0 1px 0 #fff;
padding: 20px;
margin: 0;
}
.the-price h1
{
line-height: 1em;
padding: 0;
margin: 0;
}
.subscript
{
font-size: 25px;
}
/* CSS-only ribbon styles */
.cnrflash
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

how to align it to the center with same size with col-md-3 ?

tanmoy biswas () - 7 years ago - Reply 0


thanks a billion. God bless you. perfect, just perfect

Namo Osu () - 8 years ago - Reply 0


This is art! Well done on a truly amazing job. I've just integrated it into Laravel using the $loop iterator variable to find tune the style, and it's working just great! Thank you!

eugenevdm () - 8 years ago - Reply 0


Thank you! I implement the snippet (with minor customization) on https://tenanitfy.com. I would not be able to figure out the "Most Popular" triangle wrapper by myself.

tenantify () - 11 years ago - Reply 0


Hi
Seems part of the stylesheet is missing, Panel-primary, panel-info, button styles etc, Where cn I find it?

Dee () - 11 years ago - Reply 0


that part of CSS is coming from Bootstrap 3.0 CSS file
Please go to getbootstrap.com to get the CSS for it

maxsurguy () - 11 years ago - Reply 0


The "Most Popular" overlay doesn't seem to show in any browser. What am I missing?

Ajit Randhawa () - 11 years ago - Reply 0


can you align it to center? btw nice n simple

Ameenullah () - 11 years ago - Reply 0


change it to col-md-4 to 'align' to center

ash () - 11 years ago - Reply 0


Thank you. For me it fits awesome!

volkinson () - 8 years ago - Reply 0


thanks ash

but i dont want to expand the size of the box, should have spaces on both sides.

Ameenullah () - 11 years ago - Reply 0


Then use Bootstrap's offset Feature. See: http://getbootstrap.com/css...

theiNaD () - 11 years ago - Reply 0


Using the offset and changing the 'col-md-3' divs to 'col-md-4' is the way to go. Wrap the 'col-md-4' divs in a 'col-md-10 col-md-offset-1' this will center the 3 panels and keep the size the same.

Jon Ryan () - 11 years ago - Reply 0


the Most Popular Feature not parse in ie8

freddy () - 11 years ago - Reply 0


Mhhh, I don't like the mouse-over effect, but otherwise, great work!

Alex () - 11 years ago - Reply 0


If you don't want mouse-over effect, you can delete

.panel:hover { box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35); }

this line from css.

ceram1 () - 11 years ago - Reply 0


This is just what I need! Nice and simple.

kenaston () - 11 years ago - Reply 0


Does not look good with Firefox (The most popular feature).

Aeip () - 11 years ago - Reply 0


Now resolve firefox issue, looks good in firefox

Bhaumik Patel () - 11 years ago - Reply 0


Could you make a screenshot and upload it to http://filegr.am ?

maxsurguy () - 11 years ago - Reply 0