"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/jr/pen/rliKq?limit=all&page=57&q=nav" /> <script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script> <style class="cp-pen-styles">article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; margin: 0; } body { color: #555; } h1 { font-family: sans-serif; font-size: 2em; margin: 20px 0 0 0; text-align: center; } p { padding: 10px 0 0; color: #222; font-family: sans-serif; font-weight: bold; text-align: center; } img { display: block; } .wrap { overflow: hidden; width: 840px; margin: 0 auto; } .tint { position: relative; float: left; margin-right: 20px; margin-bottom: 20px; cursor: pointer; box-shadow: rgba(0,0,0,.2) 3px 5px 5px; } .tint:before { content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,255,255, 0.5); transition: all .3s linear; } .tint:hover:before { background: none; } .t2:before { background: rgba(0,0,255, 0.5); } .t3:before { background: rgba(255,0,0, 0.5); } .t4:before { background: rgba(0,255,0, 0.5); } .t5:before { background: rgba(255,0,240, 0.5); } .t6:before { background: rgba(255,102,0, 0.6); }</style></head><body> <h1>CSS Image Tint</h1> <p>Hover over a photo to see the original (<a href="http://www.impressivewebs.com/?p=4804">Original article</a>)</p> <div class="wrap"> <figure class="tint"> <img src="http://cdn.impressivewebs.com/2011-11/greece001.jpg" alt="" width="400" height="260" /> </figure> <figure class="tint t2"> <img src="http://cdn.impressivewebs.com/2011-11/greece002.jpg" alt="" width="400" height="260" /> </figure> <figure class="tint t3"> <img src="http://cdn.impressivewebs.com/2011-11/greece003.jpg" alt="" width="400" height="260" /> </figure> <figure class="tint t4"> <img src="http://cdn.impressivewebs.com/2011-11/greece004.jpg" alt="" width="400" height="260" /> </figure> <figure class="tint t5"> <img src="http://cdn.impressivewebs.com/2011-11/greece005.jpg" alt="" width="400" height="260" /> </figure> <figure class="tint t6"> <img src="http://cdn.impressivewebs.com/2011-11/greece006.jpg" alt="" width="400" height="260" /> </figure> </div><!-- .wrap --> <script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> </body></html>

Related: See More


Questions / Comments: