"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/travisw/pen/BQNabp?depth=everything&order=popularity&page=8&q=list&show_forks=false" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css'><link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Roboto:400,500'> <style class="cp-pen-styles">html { background-color: #FAF7F2; box-sizing: border-box; font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 400; } *, *:before, *:after { box-sizing: inherit; } .u-float-right { float: right; } .u-clearfix:before, .u-clearfix:after { content: " "; display: table; } .u-clearfix:after { clear: both; } .u-clearfix { *zoom: 1; } .u-flex-center { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; } .container { margin: 50px auto; width: 560px; } .card { background-color: #fff; border-radius: 2px; box-shadow: 0 2px 3px rgba(0, 0, 0, .1); margin-bottom: 65px; width: 100%; } .card-media { float: left; padding: 0 0 25px 25px; position: relative; width: 145px; } .card-media-img { box-shadow: 0 4px 6px rgba(0, 0, 0, .3); float: left; margin-top: -25px; position: relative; } .card-media-preview { background-color: #00AEA2; border-radius: 50%; bottom: 11px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); cursor: pointer; height: 30px; opacity: 0; position: absolute; left: 70px; transform: translateY(5px); transition: all 300ms ease-out; width: 30px; z-index: 3; } .card-media-preview:hover { background-color: #009d92; box-shadow: 0 0 6px rgba(0,0,0,.16), 0 6px 12px rgba(0,0,0,.32); } .card:hover .card-media-preview { opacity: 1; transform: translateY(0); } .card-media-tag { border-radius: 2px; box-shadow: 3px 3px 10px rgba(0, 0, 0, .22); display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: .4px; padding: 5px 8px; position: absolute; left: 110px; text-transform: uppercase; top: -10px; } .card-media-tag-orange { background-color: #FF982C; color: #FFE111; } .card-media-tag-brown { background-color: #855345; color: #E8CA69; } .card-body { float: left; padding: 25px 25px 25px 20px; width: 415px; } .card-body-heading { color: #6f6f6f; display: inline-block; font-size: 26px; } .card-body-options { float: right; } .card-body-option { cursor: pointer; display: inline-block; position: relative; margin-left: 5px; } .card-body-stars { list-style-type: none; margin: 12px 0; padding: 0; } .card-body-stars > li { cursor: pointer; display: inline-block; float: left; } .card-button { color: #9C948A; display: inline-block; font-weight: 500; padding: 12px 20px; text-decoration: none; text-transform: uppercase; transition: all 200ms ease-out; } .card-button svg { fill: #9C948A; transition: all 200ms ease-out; } .card-button-cta { background-color: #9C948A; border-radius: 2px; box-shadow: 0 2px 5px rgba(0, 0, 0, .15); color: #fff; } .card-button-cta:hover { box-shadow: 1px 5px 8px rgba(0, 0, 0, .18); background-color: #F44336; } .card-button-link:hover { color: #444; } .card-button-link:hover svg { fill: #444; } .card-button-icon { display:inline-block; vertical-align:middle; } .floating-action-button { background-color: #FF4133; border-radius: 50%; bottom: 25px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); cursor: pointer; height: 56px; position: absolute; right: 25px; transition: all 200ms ease-out; width: 56px; } .floating-action-button:hover { background-color: #ff2111; box-shadow: 0 0 6px rgba(0,0,0,.16), 0 6px 12px rgba(0,0,0,.32); }</style></head><body> <div class="container"> <!-- Batman --> <div class="card u-clearfix"> <div class="card-media"> <img src="https://s18.postimg.org/v0mympf7t/lmf1.jpg" alt="" class="card-media-img" /> <div class="card-media-preview u-flex-center"> <svg fill="#ffffff" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"> <path d="M8 5v14l11-7z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> </div> <span class="card-media-tag card-media-tag-orange">Action</span> </div> <div class="card-body"> <h2 class="card-body-heading">Batman</h2> <div class="card-body-options"> <div class="card-body-option card-body-option-favorite"> <svg fill="#9C948A" height="26" viewBox="0 0 24 24" width="26" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"/> </svg> </div> <div class="card-body-option card-body-option-share"> <svg fill="#9C948A" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"/> </svg> </div> </div> <ul class="card-body-stars u-clearfix"> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> </ul> <a href="#/" class="card-button card-button-cta"> Buy $12.99 </a> <a href="#/" class="card-button card-button-link"> More info <span class="card-button-icon"> <svg fill="#9C948A" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/> </svg> </span> </a> </div> </div> <!-- Lone Ranger --> <div class="card u-clearfix"> <div class="card-media"> <img src="https://s12.postimg.org/t0h9q7999/lmf0.jpg" alt="" class="card-media-img" /> <div class="card-media-preview u-flex-center"> <svg fill="#ffffff" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"> <path d="M8 5v14l11-7z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> </div> <span class="card-media-tag card-media-tag-brown">Western</span> </div> <div class="card-body"> <h2 class="card-body-heading">Lone Ranger</h2> <div class="card-body-options"> <div class="card-body-option card-body-option-favorite"> <svg fill="#9C948A" height="26" viewBox="0 0 24 24" width="26" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/> </svg> </div> <div class="card-body-option card-body-option-share"> <svg fill="#9C948A" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"/> </svg> </div> </div> <ul class="card-body-stars u-clearfix"> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> </ul> <a href="#/" class="card-button card-button-cta"> Buy $12.99 </a> <a href="#/" class="card-button card-button-link"> More info <span class="card-button-icon"> <svg fill="#9C948A" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/> </svg> </span> </a> </div> </div> <!-- Superman --> <div class="card u-clearfix"> <div class="card-media"> <img src="https://s13.postimg.org/h8spyr37b/lmf2.jpg" alt="" class="card-media-img" /> <div class="card-media-preview u-flex-center"> <svg fill="#ffffff" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"> <path d="M8 5v14l11-7z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> </div> <span class="card-media-tag card-media-tag-orange">Action</span> </div> <div class="card-body"> <h2 class="card-body-heading">Superman</h2> <div class="card-body-options"> <div class="card-body-option card-body-option-favorite"> <svg fill="#9C948A" height="26" viewBox="0 0 24 24" width="26" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"/> </svg> </div> <div class="card-body-option card-body-option-share"> <svg fill="#9C948A" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"/> </svg> </div> </div> <ul class="card-body-stars u-clearfix"> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> <li> <svg fill="#D3BCA2" height="28" viewBox="0 0 18 18" width="28" xmlns="http://www.w3.org/2000/svg"> <path d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z"/> <path d="M0 0h18v18H0z" fill="none"/> </svg> </li> </ul> <a href="#/" class="card-button card-button-cta"> Buy $12.99 </a> <a href="#/" class="card-button card-button-link"> More info <span class="card-button-icon"> <svg fill="#9C948A" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/> </svg> </span> </a> </div> </div> </div> <div class="floating-action-button u-flex-center"> <svg fill="#ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> </div> </body></html>

Related: See More


Questions / Comments: