"card"
Bootstrap 3.0.0 Snippet by guptadharamveer53

<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/petebarr/pen/BLVOOj?depth=everything&order=popularity&page=92&q=translate&show_forks=false" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'> <style class="cp-pen-styles">html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } html, body { height: 100%; } body { position: relative; background-color: #08222e; } .frame { position: absolute; left: calc(50% - 187px); top: calc(50% - 333px); width: 375px; height: 667px; background-color: #08222e; background-image: -webkit-radial-gradient(50% 50% circle, #028dc4 0%, #08222e 100%); background-image: radial-gradient(circle at 50% 50%, #028dc4 0%, #08222e 100%); overflow: hidden; border-radius: 15px; box-shadow: 2px 3.464px 55.3px 14.7px rgba(0, 0, 0, 0.26); } .loader { position: absolute; width: 105px; left: calc(50% - 52px); top: calc(50% - 52px); -webkit-animation: fadeIn 2s; animation: fadeIn 2s; } .loader-ring { background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/loader-stars.jpg") no-repeat center center; background-size: 95px 95px; width: 105px; height: 105px; border-radius: 50%; border: 10px solid #d81f44; } .rocket-wrapper { position: absolute; left: 34px; top: -30px; height: 200px; } .rocket { width: 37px; height: auto; } .trail-wrapper { position: absolute; top: 78px; left: 13px; width: 12px; height: 44px; -webkit-transform: none; transform: none; -webkit-transform-origin: top center; transform-origin: top center; z-index: -1; } .trail { width: 12px; height: auto; -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-animation: jet 0.02s ease alternate infinite; animation: jet 0.02s ease alternate infinite; -webkit-transform-origin: top center; transform-origin: top center; } .clouds-wrapper { position: absolute; top: 13px; left: 10px; width: 88px; height: 85px; } .clouds { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 92px; } .cloud { -webkit-animation: kaboom 0.4s ease alternate infinite; animation: kaboom 0.4s ease alternate infinite; -webkit-transform-origin: center center; transform-origin: center center; opacity: 0.9; } .cloud:nth-child(odd) { -webkit-animation: kaboom 0.3s ease alternate infinite; animation: kaboom 0.3s ease alternate infinite; } .cloud:nth-child(1) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } .cloud:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .cloud:nth-child(3) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .cloud:nth-child(4) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .cloud:nth-child(5) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .cloud:nth-child(6) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .cloud:nth-child(7) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; } @-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @-webkit-keyframes kaboom { 0% { -webkit-transform: scale(1); transform: scale(1); } 100% { -webkit-transform: scale(1.2); transform: scale(1.2); } } @keyframes kaboom { 0% { -webkit-transform: scale(1); transform: scale(1); } 100% { -webkit-transform: scale(1.2); transform: scale(1.2); } } @-webkit-keyframes jet { 0% { -webkit-transform: scale(0.9); transform: scale(0.9); } 100% { -webkit-transform: scale(1.2); transform: scale(1.2); } } @keyframes jet { 0% { -webkit-transform: scale(0.9); transform: scale(0.9); } 100% { -webkit-transform: scale(1.2); transform: scale(1.2); } } </style></head><body> <div class="frame"> <div class="loader"> <div class="loader-ring"></div> <div class="rocket-wrapper"> <div class="trail-wrapper"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/trail.png" alt="" class="trail" /> </div> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/small-rocket.png" alt="" class="rocket" /> </div> <div class="clouds-wrapper"> <svg class="clouds" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 92 90.83"> <defs> <clipPath id="clip-path" transform="translate(1.75)"> <circle cx="42.5" cy="42.5" r="42.5" fill="none" /> </clipPath> <filter id="goo" color-interpolation-filters="sRGB"> <feGaussianBlur in="SourceGraphic" stdDeviation="6" result="blur" /> <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -11" result="goo" /> <feBlend in="SourceGraphic" in2="goo" /> </filter> <filter id="blurMe"> <feGaussianBlur in="SourceGraphic" stdDeviation="0.9" /> </filter> </defs> <g clip-path="url(#clip-path)" fill="#eef2f3" filter="url(#goo)"> <g class="clouds-wrapper" filter="url(#blurMe)"> <ellipse class="cloud" cx="40" cy="61.83" rx="7" ry="7" /> <ellipse class="cloud" cx="81" cy="68.83" rx="8" ry="8" /> <ellipse class="cloud" cx="6" cy="63.83" rx="6" ry="6"/> <ellipse class="cloud" cx="15" cy="70.83" rx="11" ry="11" /> <ellipse class="cloud" cx="65" cy="74.83" rx="11" ry="11" /> <ellipse class="cloud" cx="48" cy="71.83" rx="14" ry="14" /> <ellipse class="cloud" cx="34" cy="75.83" rx="16" ry="16" /> </g> </g> </svg> </div> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js'></script> <script >var tl = new TimelineMax({repeat: -1, repeatDelay: 0}); tl.from('.cloud', 1, {alpha: 0}) .to('.rocket-wrapper', 3, { y: -400, ease:Expo.easeIn }) .to('.cloud', 3, { attr:{ cy: 185}, ease:Expo.easeIn }, "-=3") .set('.cloud', {clearProps:"all"}) .set('.rocket-wrapper', { y: 450 }) .to('.rocket-wrapper', 4, { y:0, ease:Elastic.easeOut.config(0.5, 0.4) }) .to('.trail-wrapper', 2.5, { scaleX:0.5, scaleY:0, alpha:0, ease:Expo.easeOut }, "-=2.0") //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: