"box card"
Bootstrap 3.0.0 Snippet by pamartins

<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/linux/pen/QgMoQa?limit=all&page=5&q=box" /> <style class="cp-pen-styles">@import url('https://fonts.googleapis.com/css?family=Amiri|Aref+Ruqaa|Cairo|Changa|El+Messiri|Harmattan|Jomhuria|Lateef|Mirza|Rakkas|Lato|Source+Sans+Pro|Ubuntu'); /* *{transition: 0.3s linear; padding:0;margin:0;} */ body{ background-image: linear-gradient(-225deg, rgba(44, 216, 213, 0.45) 0%, #C5C1FF 56%, rgba(255, 186, 195, 0.71) 100%); background-repeat: no-repeat; background-attachment: fixed; } h2 {margin:2em; letter-spacing:0.2em; color: #EEE} .container{ margin: 3em auto; width: 90%; text-align: center; /* font-family: 'Aref Ruqaa', serif; */ font-family: 'Ubuntu', sans-serif; /* font-family: 'Lato', sans-serif; */ font-family: 'Source Sans Pro', sans-serif; } .item { /* background: #FFF; */ margin: 2em; display: inline-block; width: 200px; height: 200px; border-radius: 20px; transform: rotate(45deg); position: relative; overflow: hidden; transition: all 0.3s ease-in-out; padding:0; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); margin: 0 auto; } .item p { position: absolute; transform: rotate(-45deg); top: 30%; left: -20%; background: rgba(0, 0, 0, 0.7); padding: 10px 20px; width:130%; text-align:center; color: #fff; transition: all 0.3s ease-in-out; } .item:hover { transform: none; transform: scale(1.5); z-index:2; box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); } .item:hover > p { transform: none; top: 0; } img { width: 100%; height: 100%; transition: 0.3s linear; transform: rotate(-45deg) scale(1.4) } .item:hover > img { transform: none; } p.ar { font-family: 'Rakkas', cursive; font-size:1.1em; } body::-webkit-scrollbar { width: 0.7em; background-color: #EEE; } body::-webkit-scrollbar-thumb{ /* background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%); */ background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%); /* background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%); */ /* background: linear-gradient(to top, #2193b0, #6dd5ed); */ border-radius:1em; } </style></head><body> <div class="container"> <h2>Box Transform Rotate 'Tourism In Egypt' </h2> <div class="item tm1"> <img src="http://www.videoskick.com/wp-content/uploads/2016/06/Wallpaper-of-Egyptian-sphinx-and-pyramid-on-sunset.jpg"> <p>Sphinx</p> </div> <div class="item tm2"> <img src="https://9227-presscdn-0-11-pagely.netdna-ssl.com/wp-content/uploads/2015/11/Luxor-Egypt.jpg"> <p>Luxor, EGYPT </p> </div> <div class="item tm3"> <img src="https://www.roughguides.com/wp-content/uploads/2012/11/1416684531-660x420.jpg"> <p class="ar">قلعة صلاح الدين </p> </div> <div class="item tm4"> <img src="http://egyptfuntours.com/images/stories/egypt_tours_hurghada_safari.jpg"> <p> Safari Hurghada Desert </p> </div> <br> <span> <div class="item tm5"> <img src="http://outinafricaride.org/wp-content/uploads/2014/12/Pyramids1-720x380.jpg"> <p>Pyramids</p> </div> <div class="item tm6"> <img src="https://www.greenprophet.com/wp-content/uploads/Egyptian-Desert-Sand-Spiral-3.jpg"> <p>The Desert Breath </p> </div> <div class="item tm7"> <img src="http://www.destination360.com/africa/egypt/images/s/safari-tours.jpg"> <p>Safari Egypt</p> </div> <span> <br> <div class="item tm8"> <img src="http://egyptlastminute.com/wp-content/uploads/2012/11/safari-tours-egypt.jpg"> <p>Moto Safari</p> </div> <div class="item tm2"> <img src="http://www.holiday-designers.com/images/0/0/d8d31089-a92d-493c-8567-797c09efa98f.jpg"> <p>Red Sea Diving Holidays </p> </div> <div class="item tm3"> <img src="https://egyptianstreets.com/wp-content/uploads/2014/07/El-_Gouna_Architenturr_hotels_egypt.jpg"> <p>GOUNA</p> </div> <div class="item tm4"> <img src="https://egyptianstreets.com/wp-content/uploads/2014/07/01-Jaz_Oriental_014_default.jpg"> <p> MARSA MATROUH </p> </div> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script> <script >// font-family: 'Changa', sans-serif; */ // /* font-family: 'Cairo', sans-serif; */ // /* font-family: 'Amiri', serif; */ // /* font-family: 'Rakkas', cursive; */ // /* font-family: 'Jomhuria', cursive; */ // /* font-family: 'Mirza', cursive; */ // /* font-family: 'Harmattan', sans-serif; */ // /* font-family: 'El Messiri', sans-serif; */ // /* font-family: 'Lateef', cursive; //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: