"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/zmeeey5/pen/grEadL?depth=everything&order=popularity&page=62&q=card&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">* { box-sizing: border-box; } html, body { height: 100%; } body { font-family: 'Roboto Condensed', sans-serif; } .card_wrap { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; height: 100%; background-color: #5F5F5F; } .card_wrap:before { content: ''; position: absolute; width: 100%; height: 100%; background-image: url(https://s-media-cache-ak0.pinimg.com/originals/37/e6/64/37e664b39146247e2312343115ab165a.png); background-size: cover; background-size: auto 800px; background-position: 50% 50%; background-repeat: no-repeat; } .card_body { position: relative; margin: auto; height: 0; width: 360px; box-shadow: -25px 25px 60px 5px rgba(0, 0, 0, 0.5), -60px 60px 100px 13px rgba(0, 0, 0, 0.27); overflow: hidden; -webkit-transition: height 0.3s ease-in-out; transition: height 0.3s ease-in-out; } .card_body .description, .card_body .footer { position: absolute; left: 35px; color: transparent; -webkit-transition: all 0.5s ease-in-out 0.5s; transition: all 0.5s ease-in-out 0.5s; } .card_body .description { top: 380px; } .card_body .footer { bottom: 135px; } .card_body h3, .card_body h2, .card_body h1 { text-transform: uppercase; } .card_body h3 { font-weight: 300; } .card_body h2 { font-weight: 400; font-size: 14px; } .card_body h1 { font-weight: 600; font-size: 34px; } .card_body b { font-weight: 600; margin-right: 5px; } .card_body-gradient { position: absolute; top: -290px; height: 800px; width: 100%; background: -webkit-linear-gradient(top, rgba(201, 230, 255, 0.19) 100px, #0600FE 500px); background: linear-gradient(to bottom, rgba(201, 230, 255, 0.19) 100px, #0600FE 500px); -webkit-transition: top 0.3s ease-in-out 0.3s; transition: top 0.3s ease-in-out 0.3s; } .card_body.active { height: 510px; } .card_body.active .card_body-gradient { top: 0; } .card_body.active .description { top: 280px; color: #fff; } .card_body.active .footer { bottom: 35px; color: #fff; } </style></head><body> <link href='https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700' rel='stylesheet' type='text/css'> <div class="card_wrap"> <div class="card_body"> <div class="card_body-gradient"></div> <div class="description"> <h2>/Everest summits/</h2> <h1>Everest</h1> </div> <div class="footer"> <h3><b>Asia</b>8.848m</h3> </div> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script> <script >var card = $('.card_body'); setTimeout(function(){ card.addClass('active'); }, 500); //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: