"animation"
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/z-/pen/zBLGYN?limit=all&page=68&q=contact+" /> <link rel='stylesheet prefetch' href='https://s3-us-west-2.amazonaws.com/s.cdpn.io/199011/arcon.css'> <style class="cp-pen-styles">body { background-color: #F69899; font-family: 'arcon'; overflow: hidden; } body a { color: inherit; text-decoration: none; -webkit-transition: color 0.25s cubic-bezier(0.64, 0.57, 0.67, 1.53); transition: color 0.25s cubic-bezier(0.64, 0.57, 0.67, 1.53); } body .underbackground { background-color: #FAFAFA; position: absolute; top: 0px; left: 0px; right: 0px; height: 120px; } body .underbackground .header { display: -webkit-box; display: -ms-flexbox; display: flex; position: absolute; top: calc(50% - 10px); left: 30px; right: 20px; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 1000; color: #F69899; line-height: 32px; } body .underbackground .header a { font-size: 18px; padding: 0 10px; } body .underbackground .header a:hover { color: #AD5858; } body .underbackground .header .title { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; } body .underbackground .header .title a { font-size: 32px; } body .backgrounds .background { position: absolute; height: 20px; left: 0px; right: 0px; top: 120px; -webkit-animation: bg 2s ease-in-out infinite; animation: bg 2s ease-in-out infinite; } body .backgrounds .background .head { position: absolute; bottom: 100%; left: 0px; right: 0px; height: 20px; } body .backgrounds .background.layer-3 { background-color: #FAF0F0; top: 110px; } body .backgrounds .background.layer-3 .head { background: url(https://i.koya.io/grapefruitwave_3.svg); background-position: -60px 0px; } body .backgrounds .background.layer-2 { background-color: #FBD7D7; top: 114px; -webkit-animation-delay: -0.5s; animation-delay: -0.5s; } body .backgrounds .background.layer-2 .head { background: url(https://i.koya.io/grapefruitwave_2.svg); background-position: -40px 0px; } body .backgrounds .background.layer-1 { height: 30px; background-color: #F69899; -webkit-animation-delay: -1s; animation-delay: -1s; } body .backgrounds .background.layer-1 .head { background: url(https://i.koya.io/grapefruitwave_1.svg); } body .backgrounds .strawimage { z-index: 10000; position: absolute; background-image: url(https://i.koya.io/grapefruit_straw.svg); background-size: 30px 1316px; width: 30px; height: 1097px; top: 70px; -webkit-transform: rotate(6deg); transform: rotate(6deg); right: 120px; -webkit-animation: straw 2s ease-in-out infinite; animation: straw 2s ease-in-out infinite; } body section.content { position: absolute; top: 150px; left: 20px; right: 220px; color: #fff; } body section.content h1, body section.content h2, body section.content h3, body section.content h4, body section.content h5, body section.content h6, body section.content p { margin: 0; font-weight: 400; } body section.content h1 { font-size: 32px; } @-webkit-keyframes bg { 0%, 100% { -webkit-transform: translateY(12px); transform: translateY(12px); } 50% { -webkit-transform: translateY(0px); transform: translateY(0px); } } @keyframes bg { 0%, 100% { -webkit-transform: translateY(12px); transform: translateY(12px); } 50% { -webkit-transform: translateY(0px); transform: translateY(0px); } } @-webkit-keyframes straw { 0%, 100% { -webkit-transform: translateY(-2px) rotate(6deg); transform: translateY(-2px) rotate(6deg); } 50% { -webkit-transform: translateY(0px) rotate(6deg); transform: translateY(0px) rotate(6deg); } } @keyframes straw { 0%, 100% { -webkit-transform: translateY(-2px) rotate(6deg); transform: translateY(-2px) rotate(6deg); } 50% { -webkit-transform: translateY(0px) rotate(6deg); transform: translateY(0px) rotate(6deg); } } </style></head><body> <div class="underbackground"> <div class="header"> <div class="title"><a href="">grapefruit</a></div> <a href="/about">about</a> <a href="/news">news</a> <a href="/documentation">docs</a> <a href="/pricing">pricing</a> <a href="/contact">contact</a> <a href="#login">log in</a> </div> </div> <div class="backgrounds"> <div class="strawimage"></div> <div class="background layer-3"><div class="head"></div></div> <div class="background layer-2"><div class="head"></div></div> <div class="background layer-1"><div class="head"></div></div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script> <script >//This was made last summer and was never used, love it and I'm aware how distracting the animation is - I lost it but there was a design with a fixed flat header for non-splash (literally) pages. //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: