"Simple shopping cart"
Bootstrap 3.3.0 Snippet by ponnus

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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-md-12"> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="thumbnail" > <img src="http://placehold.it/700x350&text=1" class="img-responsive"> <div class="caption"> <div class="row"> <div class="col-md-4 col-sm-4 col-xs-4 price"> <h3 style="margin:5px auto;"><label>$1</label></h3> </div> <div class="col-md-8 col-sm-8 col-xs-8"> <a href="#" class="btn btn-success btn-product"><span class="glyphicon glyphicon-shopping-cart"></span> Add 2 Cart</a> </div> </div> <p> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="thumbnail" > <img src="http://placehold.it/700x350&text=1" class="img-responsive"> <div class="caption"> <div class="row"> <div class="col-md-4 col-sm-4 col-xs-4 price"> <h3 style="margin:5px auto;"><label>$2</label></h3> </div> <div class="col-md-8 col-sm-8 col-xs-8"> <a href="#" class="btn btn-success btn-product"><span class="glyphicon glyphicon-shopping-cart"></span> Add 2 Cart</a> </div> </div> <p> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="thumbnail" > <img src="http://placehold.it/700x350&text=1" class="img-responsive"> <div class="caption"> <div class="row"> <div class="col-md-4 col-sm-4 col-xs-4 price"> <h3 style="margin:5px auto;"><label>$3</label></h3> </div> <div class="col-md-8 col-sm-8 col-xs-8"> <a href="#" class="btn btn-success btn-product"><span class="glyphicon glyphicon-shopping-cart"></span> Add 2 Cart</a> </div> </div> <p> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="thumbnail" > <img src="http://placehold.it/700x350&text=1" class="img-responsive"> <div class="caption"> <div class="row"> <div class="col-md-4 col-sm-4 col-xs-4 price"> <h3 style="margin:5px auto;"><label>$4</label></h3> </div> <div class="col-md-8 col-sm-8 col-xs-8"> <a href="#" class="btn btn-success btn-product"><span class="glyphicon glyphicon-shopping-cart"></span> Add 2 Cart</a> </div> </div> <p> </p> </div> </div> </div> </div> </div> </div>
.btn-product{ width: 100%; }

Related: See More


Questions / Comments: