"E-commerce product item block whith zoom"
Bootstrap 3.3.0 Snippet by arthurbonora

<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 ----------> <!-- User Profile Sidebar by @keenthemes A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme Licensed under MIT --> <div class="container"> <div class="row"> <div class="col-md-4"> <div class="product-item"> <div class="pi-img-wrapper"> <img src="http://keenthemes.com/assets/bootsnipp/k1.jpg" class="img-responsive" alt="Berry Lace Dress"> <div> <a href="" class="btn" data-toggle="modal" data-target="#zoom">Zoom</a> <a href="#" class="btn">View</a> </div> </div> <h3><a href="shop-item.html">Berry Lace Dress</a></h3> <div class="pi-price">$29.00</div> <a href="javascript:;" class="btn add2cart">Add to cart</a> <div class="sticker sticker-new"></div> </div> </div> <div class="col-md-4"> <div class="product-item"> <div class="pi-img-wrapper"> <img src="http://keenthemes.com/assets/bootsnipp/k2.jpg" class="img-responsive" alt="Berry Lace Dress"> <div> <a href="" class="btn" data-toggle="modal" data-target="#zoom">Zoom</a> <a href="#" class="btn">View</a> </div> </div> <h3><a href="shop-item.html">Berry Lace Dress</a></h3> <div class="pi-price">$29.00</div> <a href="javascript:;" class="btn add2cart">Add to cart</a> </div> </div> <div class="col-md-4"> <div class="product-item"> <div class="pi-img-wrapper"> <img src="http://keenthemes.com/assets/bootsnipp/k3.jpg" class="img-responsive" alt="Berry Lace Dress"> <div> <a href="" class="btn" data-toggle="modal" data-target="#zoom">Zoom</a> <a href="#" class="btn">View</a> </div> </div> <h3><a href="shop-item.html">Berry Lace Dress</a></h3> <div class="pi-price">$29.00</div> <a href="javascript:;" class="btn add2cart">Add to cart</a> </div> </div> </div> </div> <div class="modal fade" id="zoom" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h3 class="modal-title">Zoom</h3> </div> <div class="modal-body"> <img src="http://keenthemes.com/assets/bootsnipp/k3.jpg" class="img-responsive" alt="Berry Lace Dress Full"> </div> <div class="modal-footer"> </div> </div> </div> </div> <br> <br> <center> <strong>Powered by <a href="http://j.mp/metronictheme" target="_blank">KeenThemes</a></strong> | <strong>With zoom Powered by <a href="http://www.bonora.com.br" target="_blank">Bonora Soluções Web</a></strong> </center> <br> <br>
/*** User Profile Sidebar by @keenthemes A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme Licensed under MIT ***/ body { background: #f1f1f1; } .product-item { padding: 15px; background: #fff; margin-top: 20px; position: relative; } .product-item:hover { box-shadow: 5px 5px rgba(234, 234, 234, 0.9); } .product-item:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; font-size: 0; line-height:0; } .sticker { position: absolute; top: 0; left: 0; width: 63px; height: 63px; } .sticker-new { background: url(http://keenthemes.com/assets/bootsnipp/new.png) no-repeat; left: auto; right: 0; } .pi-img-wrapper { position: relative; } .pi-img-wrapper div { background: rgba(0,0,0,0.3); position: absolute; left: 0; top: 0; display: none; width: 100%; height: 100%; text-align: center; } .product-item:hover>.pi-img-wrapper>div { display: block; } .pi-img-wrapper div .btn { padding: 3px 10px; color: #fff; border: 1px #fff solid; margin: -13px 5px 0; background: transparent; text-transform: uppercase; position: relative; top: 50%; line-height: 1.4; font-size: 12px; } .product-item .btn:hover { background: #e84d1c; border-color: #c8c8c8; } .product-item h3 { font-size: 14px; font-weight: 300; padding-bottom: 4px; text-transform: uppercase; } .product-item h3 a { color: #3e4d5c; } .product-item h3 a:hover { color: #E02222; } .pi-price { color: #e84d1c; font-size: 18px; float: left; padding-top: 1px; } .product-item .add2cart { float: right; color: #a8aeb3; border: 1px #ededed solid; padding: 3px 6px; text-transform: uppercase; } .product-item .add2cart:hover { color: #fff; background: #e84d1c; border-color: #e84d1c; }

Related: See More


Questions / Comments: