"shop card"
Bootstrap 3.0.0 Snippet by evarevirus

<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 ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/ahmetomer/pen/yzVmMO?depth=everything&order=popularity&page=47&q=shop&show_forks=false" /> <style class="cp-pen-styles">body { padding: 1.5em; background: #fff; background: whitesmoke; } .container { width: 100%; height: 100%; } .container .product { width: 610px; height: 250px; display: flex; margin: 1em 0; border-radius: 5px; overflow: hidden; cursor: pointer; box-shadow: 0px 0px 21px 3px rgba(0, 0, 0, 0.15); transition: all .1s ease-in-out; } .container .product:hover { box-shadow: 0px 0px 21px 3px rgba(0, 0, 0, 0.11); } .container .product .img-container { flex: 2; } .container .product .img-container img { object-fit: cover; width: 100%; height: 100%; } .container .product .product-info { background: #fff; flex: 3; } .container .product .product-info .product-content { padding: .2em 0 .2em 1em; } .container .product .product-info .product-content h1 { font-size: 1.5em; } .container .product .product-info .product-content p { color: #636363; font-size: .9em; font-weight: bold; width: 90%; } .container .product .product-info .product-content ul li { color: #636363; font-size: .9em; margin-left: 0; } .container .product .product-info .product-content .buttons { padding-top: .4em; } .container .product .product-info .product-content .buttons .button { text-decoration: none; color: #5e5e5e; font-weight: bold; padding: .3em .65em; border-radius: 2.3px; transition: all .1s ease-in-out; } .container .product .product-info .product-content .buttons .add { border: 1px #5e5e5e solid; } .container .product .product-info .product-content .buttons .add:hover { border-color: #6997b6; color: #6997b6; } .container .product .product-info .product-content .buttons .buy { border: 1px #5e5e5e solid; } .container .product .product-info .product-content .buttons .buy:hover { border-color: #6997b6; color: #6997b6; } .container .product .product-info .product-content .buttons #price { margin-left: 4em; color: #5e5e5e; font-weight: bold; border: 1px solid rgba(137, 137, 137, 0.2); background: rgba(137, 137, 137, 0.04); } </style></head><body> <div class="container"> <div class="product"> <div class="img-container"> <img src="https://images.unsplash.com/photo-1491553895911-0055eca6402d?dpr=1&auto=compress,format&fit=crop&w=1400&h=&q=80&cs=tinysrgb&crop="> </div> <div class="product-info"> <div class="product-content"> <h1>Nike Airmax</h1> <p>Lorem ipsum dolor sit amet consectetur adipisicing elit ariatur</p> <ul> <li>Lorem ipsum dolor sit ametconsectetu.</li> <li>adipisicing elit dlanditiis quis ip.</li> <li>lorem sde glanditiis dars fao.</li> </ul> <div class="buttons"> <a class="button buy" href="#">Buy</a> <a class="button add" href="#">Add to Cart</a> <span class="button" id="price">$59,99</span> </div> </div> </div> </div> <div class="product"> <div class="img-container"> <img src="https://images.unsplash.com/photo-1434493907317-a46b5bbe7834?dpr=1&auto=compress,format&fit=crop&w=1500&h=&q=80&cs=tinysrgb&crop="> </div> <div class="product-info"> <div class="product-content"> <h1>Apple Watch 3</h1> <p>Lorem ipsum dolor sit amet consectetur adipisicing elit ariatur</p> <ul> <li>Lorem ipsum dolor sit ametconsectetu.</li> <li>adipisicing elit dlanditiis quis ip.</li> <li>lorem sde glanditiis dars fao.</li> </ul> <div class="buttons"> <a class="button buy" href="#">Buy</a> <a class="button add" href="#">Add to Cart</a> <span class="button" id="price">$120,99</span> </div> </div> </div> </div> </div> </body></html>

Related: See More


Questions / Comments: