"product card"
Bootstrap 3.0.0 Snippet by action360ca

<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 lang='en' 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/chasemarlowmx/pen/ZbdQKZ?depth=everything&order=popularity&page=3&q=product&show_forks=false" /> <link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'> <link rel='stylesheet prefetch' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'> <style class="cp-pen-styles">*, *:before, *:after { box-sizing: border-box; } body { background-color: #f3f3f3; } .product-card { background-color: #fdfefe; max-width: 550px; min-height: 400px; margin: 0 auto; margin-top: 50px; margin-bottom: 150px; box-shadow: 8px 12px 30px #b3b3b3; color: #919495; font-weight: normal; text-align: left; font-size: 18px; position: relative; } .product-details { width: 53%; float: left; height: 100%; padding: 30px; } .product-details h1 { color: #333; font-family: "Pacifico", cursive; margin-bottom: 35px; } .product-details button { width: 150px; height: 50px; margin-top: 20px; background-color: #337AB7; border-radius: 0; color: #fff; box-shadow: 2px 2px 7px #173853; } .product-details button:hover, .product-details button:active, .product-details button:focus { color: #fff; } .product-image { position: absolute; right: -50px; top: -10px; } .product-image img { max-width: 350px; } @media (max-width: 700px) { .product-card { margin-left: 20px; margin-right: 20px; } } @media (max-width: 540px) { .product-card { overflow: hidden; margin-bottom: 50px; } .product-details { width: 60%; z-index: 1; } .product-image { width: 100%; left: 50%; top: -30px; } } @media (max-width: 440px) { .product-details { width: 65%; } } @media (max-width: 365px) { .product-details { width: 80%; position: relative; color: #333; background-color: rgba(255, 255, 255, 0.7); } } </style></head><body> <div class="product-card"> <div class="product-image"> <img src="https://s18.postimg.org/akrvucg2h/T_Shirt_Mock_Up_Front.png"> </div> <div class="product-details"> <h1>Product title</h1> <p>Great product title for a great product and all of the extra things a product might need to make it fill an entire card.</p> <button type="button" class="btn">Buy Now</button> </div> </div> <div class="product-card"> <div class="product-details"> <h1>Product title</h1> <p>Great product title for a great product and all of the extra things a product might need to make it fill an entire card.</p> <button type="button" class="btn">Buy Now</button> </div> <div class="product-image"> <img src="https://s18.postimg.org/akrvucg2h/T_Shirt_Mock_Up_Front.png"> </div> </div> </body></html>

Related: See More


Questions / Comments: