"card"
Bootstrap 3.0.0 Snippet by Chow86

<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></head><body> <h1>HONEYCOMB</h1> <section> <div class="hex_row_odd"> <div class="center"> <div class="hexagon"> <div class="hex1"> <div class="hex2" style="background: url('http://www.sub5zero.com/wp-content/uploads/2016/08/surfing-1050x525.jpg') center no-repeat"> <div class="desc"> <h2>Welcome this is an epic title</h2> <p>website</p> </div> </div><!--/hex2--> </div><!--/hex1--> </div><!--/hexagon--> </div><!--/center--> <div class="hex_row_odd"> <div class="center"> <div class="hexagon"> <div class="hex1"> <div class="hex2" style="background: url('http://www.sub5zero.com/wp-content/uploads/2016/08/surfing-1050x525.jpg') center no-repeat"> <div class="desc"> <h2>Welcome this is an epic title</h2> <p>website</p> </div> </div><!--/hex2--> </div><!--/hex1--> </div><!--/hexagon--> </div><!--/center--><div class="hex_row_odd"> <div class="center"> <div class="hexagon"> <div class="hex1"> <div class="hex2" style="background: url('http://www.sub5zero.com/wp-content/uploads/2016/08/surfing-1050x525.jpg') center no-repeat"> <div class="desc"> <h2>Welcome this is an epic title</h2> <p>website</p> </div> </div><!--/hex2--> </div><!--/hex1--> </div><!--/hexagon--> </div><!--/center--><div class="hex_row_odd"> <div class="center"> <div class="hexagon"> <div class="hex1"> <div class="hex2" style="background: url('http://www.sub5zero.com/wp-content/uploads/2016/08/surfing-1050x525.jpg') center no-repeat"> <div class="desc"> <h2>Welcome this is an epic title</h2> <p>website</p> </div> </div><!--/hex2--> </div><!--/hex1--> </div><!--/hexagon--> </div><!--/center--> <br> <div class="hex_row_odd"> <div class="center"> <div class="hexagon"> <div class="hex1"> <div class="hex2" style="background: url('http://www.sub5zero.com/wp-content/uploads/2016/08/surfing-1050x525.jpg') center no-repeat"> <div class="desc"> <h2>Welcome this is an epic title</h2> <p>website</p> </div> </div><!--/hex2--> </div><!--/hex1--> </div><!--/hexagon--> </div><!--/center--> </div> </section> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script >$(document).ready(function() { var color = 'one'; var counter = 0; $('.desc').hide(); $('.hexagon').hover( function() { $(this).find('.desc').fadeIn('fast'); counter++; if (counter === 0) { color = 'base'; } else if (counter === 1) { color = 'one'; } else if (counter === 2) { color = 'two'; } else if (counter === 3) { color = 'three'; } else if (counter >= 4){ counter = 0 ; color = 'base'; } $(this).find('.desc').addClass(color); }, function() { $(this).find('.desc').fadeOut('fast', function() { $(this).removeClass(color); }); }); }); //# sourceURL=pen.js </script> </body></html>
<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/joshhowenstine/pen/yLqgb?depth=everything&order=popularity&page=8&q=thumbnail&show_forks=false" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css'> <style class="cp-pen-styles">/* Thanks to dmac37 for this hex technique */ @import url(https://fonts.googleapis.com/css?family=Lato:300); /* Variables */ h1 { font-family: 'Lato', sans-serif; font-size: 4em; font-weight: 300; text-align: center; margin: 100px 10px 0 10px; } body { background: #fff; } section { margin: 0 auto; text-align: center; width: 960px; } .hex_row_even { display: inline-block; margin: 0 auto -275px auto; overflow: hidden; } .hex_row_odd { display: inline-block; margin: 0 auto -275px auto; overflow: hidden; } .center { float: left; margin: 20px 10px; width: 220px; } .hexagon { -moz-transform: rotate(120deg); -ms-transform: rotate(120deg); -webkit-transform: rotate(120deg); transform: rotate(120deg); cursor: pointer; height: 440px; overflow: hidden; visibility: hidden; width: 220px; } .hex1 { -moz-transform: rotate(-60deg); -ms-transform: rotate(-60deg); -webkit-transform: rotate(-60deg); transform: rotate(-60deg); height: 100%; overflow: hidden; width: 100%; } .hex2 { -moz-transform: rotate(-60deg); -ms-transform: rotate(-60deg); -webkit-transform: rotate(-60deg); transform: rotate(-60deg); height: 100%; position: relative; visibility: visible; width: 100%; } .desc { color: white; font-family: 'Lato', sans-serif; font-size: 1.5em; font-weight: 300; height: 440px; line-height: 1.5em; position: absolute; text-align: center; text-transform: uppercase; visibility: visible; width: 220px; } .desc.base { background: rgba(230, 0, 98, 0.75); } .desc.one { background: rgba(252, 171, 55, 0.75); } .desc.two { background: rgba(169, 160, 50, 0.75); } .desc.three { background: rgba(83, 70, 54, 0.75); } .desc h2 { margin: 165px 20px 0 20px; } .desc p { font-size: .5em; text-transform: lowercase; } </style>

Related: See More


Questions / Comments: