"Responsive comparison table"
Bootstrap 3.2.0 Snippet by DavidLS7

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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 ----------> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-offset-4 col-sm-8"> <div class="row"> <div class="col-xs-3 my_planHeader my_plan1"> <div class="my_planTitle">Silver</div> </div> <div class="col-xs-3 my_planHeader my_plan2"> <div class="my_planTitle">Gold</div> </div> <div class="col-xs-3 my_planHeader my_plan3"> <div class="my_planTitle">Gold+</div> </div> <div class="col-xs-3 my_planHeader my_plan4"> <div class="my_planTitle">Platinum</div> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> Capacity planning </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> On-Site Capability </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> On-Site Escalation </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> Remediation Services (Business hours) </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> Remediation Services (Extended hours) </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> System Administration (Extended hours) </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> System Administration (Extended hours) </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <div class="row my_featureRow"> <div class="col-xs-12 col-sm-4 my_feature"> System Administration (24x7) </div> <div class="col-xs-12 col-sm-8"> <div class="row"> <div class="col-xs-3 col-sm-3 my_planFeature my_plan1"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan2"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan3"> <i class="fa fa-check my_check"></i> </div> <div class="col-xs-3 col-sm-3 my_planFeature my_plan4"> <i class="fa fa-check my_check"></i> </div> </div> </div> </div> <h4 class="text-center"> A responsive pricing table that shows the comparison between the different plans even on small devices.</h4>
/* Use a wide full screen for small screens like tablets. */ @media (min-width: 768px) and (max-width:992px) { .container { width: initial; padding-left: 2em; padding-right: 2em; } } /* --- Plans ---------------------------- */ .my_planHeader { text-align: center; color: white; padding-top:0.2em; padding-bottom:0.2em; } .my_planTitle { font-size:2em; font-weight: bold; background: #b43f97; } @media (max-width: 768px) { .my_planTitle { font-size:small; } } /* --- Features ------------------------- */ .my_feature { line-height:2.8em; } @media (max-width: 768px) { .my_feature { text-align: center } } .my_featureRow { margin-top: 0.2em; margin-bottom: 0.2em; border: 0.1em solid #b43f97; } /* --- Plan 1 --------------------------- */ .my_plan1 { background: #b43f97; } /* --- Plan 2 --------------------------- */ .my_plan2 { background: #b43f97; } /* --- Plan 3 --------------------------- */ .my_plan3 { background: #b43f97; } .my_plan4 { background: #b43f97; } .my_planFeature { text-align: center; font-size: 2em; } .my_planFeature i.my_check { color: green; } .fa-check:before { content: "\f00c"; color: white; }

Related: See More


Questions / Comments: