Created
April 30, 2017 10:49
-
-
Save francoj22/a81bae42e74abc02c1a092ec23c05f6c to your computer and use it in GitHub Desktop.
Happy Birthday Karina // source https://jsbin.com/vileruw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- | |
Material Design Lite | |
Copyright 2015 Google Inc. All rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
https://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License | |
--> | |
<html __fvdsurfcanyoninserted="1" class=" clickberry-extension clickberry-extension-standalone clickberry-extension clickberry-extension-standalone clickberry-extension clickberry-extension-standalone"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="description" content="Karina"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | |
<title>Happy Birthday</title> | |
<!-- Add to homescreen for Chrome on Android --> | |
<meta name="mobile-web-app-capable" content="yes"> | |
<link rel="icon" sizes="192x192" href="images/android-desktop.png"> | |
<!-- Add to homescreen for Safari on iOS --> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<meta name="apple-mobile-web-app-title" content="Karina"> | |
<link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png"> | |
<link href="http://fonts.googleapis.com/css?family=Wendy+One" rel="stylesheet" type="text/css"> | |
<!-- Tile icon for Win8 (144x144 + tile color) --> | |
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> | |
<meta name="msapplication-TileColor" content="#3372DF"> | |
<link rel="shortcut icon" href="images/favicon.png"> | |
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones --> | |
<!-- | |
<link rel="canonical" href="http://www.example.com/"> | |
--> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | |
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.teal-red.min.css"> | |
<link rel="stylesheet" href="styles.css"> | |
<style> | |
#view-source { | |
position: fixed; | |
display: block; | |
right: 0; | |
bottom: 0; | |
margin-right: 40px; | |
margin-bottom: 40px; | |
z-index: 900; | |
} | |
</style> | |
<script> | |
window.open = function() {}; | |
window.print = function() {}; | |
// Support hover state for mobile. | |
if (false) { | |
window.ontouchstart = function() {}; | |
} | |
</script> | |
<script type="text/javascript" src="chrome-extension://bfbmjmiodbnnpllbbbfblcplfjjepjdn/js/injected.js"></script> | |
<meta content="clickberry-extension-here"> | |
<meta content="clickberry-extension-here"> | |
<style type="text/css"></style> | |
<style type="text/css"></style> | |
<style type="text/css"></style><style type="text/css"></style><script type="text/javascript" src="chrome-extension://bfbmjmiodbnnpllbbbfblcplfjjepjdn/js/injected.js"></script><meta content="clickberry-extension-here"> | |
<style id="jsbin-css"> | |
/** | |
* Copyright 2015 Google Inc. All Rights Reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
*/ | |
.demo-ribbon { | |
width: 100%; | |
height: 40vh; | |
background-color: #3F51B5; | |
-webkit-flex-shrink: 0; | |
-ms-flex-negative: 0; | |
flex-shrink: 0; | |
} | |
.demo-main { | |
margin-top: -35vh; | |
-webkit-flex-shrink: 0; | |
-ms-flex-negative: 0; | |
flex-shrink: 0; | |
} | |
.demo-header .mdl-layout__header-row { | |
padding-left: 40px; | |
} | |
.demo-container { | |
max-width: 1600px; | |
width: calc(100% - 16px); | |
margin: 0 auto; | |
} | |
.demo-content { | |
border-radius: 2px; | |
padding: 80px 56px; | |
margin-bottom: 80px; | |
} | |
.demo-layout.is-small-screen .demo-content { | |
padding: 40px 28px; | |
} | |
.demo-content h3 { | |
margin-top: 48px; | |
} | |
.demo-footer { | |
padding-left: 40px; | |
} | |
.demo-footer .mdl-mini-footer--link-list a { | |
font-size: 13px; | |
} | |
span { | |
text-transform: uppercase; | |
} | |
.balloon { | |
width: 738px; | |
padding-top: 30px; | |
padding-bottom:100px; | |
position: relative; | |
} | |
.balloon > div { | |
width: 50px; | |
height: 100px; | |
background: rgba(182, 15, 97, 0.9); | |
border-radius: 0; | |
border-radius: 10% 20% 30% 42%; | |
position: absolute; | |
padding: 10px; | |
box-shadow: inset 17px 7px 10px rgba(182, 15, 97, 0.9); | |
-webkit-transform-origin: bottom center; | |
} | |
.balloon > div:nth-child(1) { | |
background: rgba(182, 15, 97, 0.9); | |
left: 0; | |
box-shadow: inset 10px 10px 10px rgba(135, 11, 72, 0.9); | |
-webkit-animation: balloon1 6s ease-in-out infinite; | |
-moz-animation: balloon1 6s ease-in-out infinite; | |
-o-animation: balloon1 6s ease-in-out infinite; | |
animation: balloon1 3s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(1):before { | |
color: rgba(182, 15, 97, 0.9); | |
} | |
.balloon > div:nth-child(2) { | |
background: rgba(242, 112, 45, 0.9); | |
left: 120px; | |
box-shadow: inset 10px 10px 10px rgba(222, 85, 14, 0.9); | |
-webkit-animation: balloon2 6s ease-in-out infinite; | |
-moz-animation: balloon2 6s ease-in-out infinite; | |
-o-animation: balloon2 6s ease-in-out infinite; | |
animation: balloon2 6s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(2):before { | |
color: rgba(242, 112, 45, 0.9); | |
} | |
.balloon > div:nth-child(3) { | |
background: rgba(45, 181, 167, 0.9); | |
left: 240px; | |
box-shadow: inset 10px 10px 10px rgba(35, 140, 129, 0.9); | |
-webkit-animation: balloon4 6s ease-in-out infinite; | |
-moz-animation: balloon4 6s ease-in-out infinite; | |
-o-animation: balloon4 6s ease-in-out infinite; | |
animation: balloon4 6s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(3):before { | |
color: rgba(45, 181, 167, 0.9); | |
} | |
.balloon > div:nth-child(4) { | |
background: rgba(190, 61, 244, 0.9); | |
left: 360px; | |
box-shadow: inset 10px 10px 10px rgba(173, 14, 240, 0.9); | |
-webkit-animation: balloon1 5s ease-in-out infinite; | |
-moz-animation: balloon1 5s ease-in-out infinite; | |
-o-animation: balloon1 5s ease-in-out infinite; | |
animation: balloon1 5s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(4):before { | |
color: rgba(190, 61, 244, 0.9); | |
} | |
.balloon > div:nth-child(5) { | |
background: rgba(180, 224, 67, 0.9); | |
left: 480px; | |
box-shadow: inset 10px 10px 10px rgba(158, 206, 34, 0.9); | |
-webkit-animation: balloon3 5s ease-in-out infinite; | |
-moz-animation: balloon3 5s ease-in-out infinite; | |
-o-animation: balloon3 5s ease-in-out infinite; | |
animation: balloon3 5s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(5):before { | |
color: rgba(180, 224, 67, 0.9); | |
} | |
.balloon > div:nth-child(6) { | |
background: rgba(242, 194, 58, 0.9); | |
left: 600px; | |
box-shadow: inset 10px 10px 10px rgba(234, 177, 15, 0.9); | |
-webkit-animation: balloon2 3s ease-in-out infinite; | |
-moz-animation: balloon2 3s ease-in-out infinite; | |
-o-animation: balloon2 3s ease-in-out infinite; | |
animation: balloon2 3s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(6):before { | |
color: rgba(242, 194, 58, 0.9); | |
} | |
.balloon > div:before { | |
color: rgba(182, 15, 97, 0.9); | |
position: absolute; | |
bottom: -11px; | |
left: 52px; | |
content:"▲"; | |
font-size: 1em; | |
} | |
.text-in-ballown { | |
font-size: 4.8em; | |
color: white; | |
position: relative; | |
top: 30px; | |
left: 50%; | |
margin-left: -27px; | |
} | |
/*BALLOON 1 4*/ | |
@-webkit-keyframes balloon1 { | |
0%, 100% { | |
-webkit-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-webkit-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@-moz-keyframes balloon1 { | |
0%, 100% { | |
-moz-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-moz-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@-o-keyframes balloon1 { | |
0%, 100% { | |
-o-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-o-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@keyframes balloon1 { | |
0%, 100% { | |
transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
/* BAllOON 2 5*/ | |
@-webkit-keyframes balloon2 { | |
0%, 100% { | |
-webkit-transform: translateY(0) rotate(6eg); | |
} | |
50% { | |
-webkit-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@-moz-keyframes balloon2 { | |
0%, 100% { | |
-moz-transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
-moz-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@-o-keyframes balloon2 { | |
0%, 100% { | |
-o-transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
-o-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@keyframes balloon2 { | |
0%, 100% { | |
transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
/* BAllOON 0*/ | |
@-webkit-keyframes balloon3 { | |
0%, 100% { | |
-webkit-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-webkit-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@-moz-keyframes balloon3 { | |
0%, 100% { | |
-moz-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-moz-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@-o-keyframes balloon3 { | |
0%, 100% { | |
-o-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-o-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@keyframes balloon3 { | |
0%, 100% { | |
transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
/* BAllOON 3*/ | |
@-webkit-keyframes balloon4 { | |
0%, 100% { | |
-webkit-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-webkit-transform: translate(-15px, 20px) rotate(10deg); | |
} | |
} | |
@-moz-keyframes balloon4 { | |
0%, 100% { | |
-moz-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-moz-transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
@-o-keyframes balloon4 { | |
0%, 100% { | |
-o-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-o-transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
@keyframes balloon4 { | |
0%, 100% { | |
transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<div class="demo-layout mdl-layout mdl-layout--fixed-header mdl-js-layout mdl-color--grey-100"> | |
<header class="demo-header mdl-layout__header mdl-layout__header--scroll mdl-color--grey-100 mdl-color-text--grey-800"> | |
<div class="mdl-layout__header-row"> | |
<span class="mdl-layout-title">Hey Karina</span> | |
<div class="mdl-layout-spacer"></div> | |
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable"> | |
<label class="mdl-button mdl-js-button mdl-button--icon" for="search"> | |
<i class="material-icons">search</i> | |
</label> | |
<div class="mdl-textfield__expandable-holder"> | |
<input class="mdl-textfield__input" type="text" id="search"> | |
<label class="mdl-textfield__label" for="search">Enter your query...</label> | |
</div> | |
</div> | |
</div> | |
</header> | |
<div class="demo-ribbon"></div> | |
<main class="demo-main mdl-layout__content"> | |
<div class="demo-container mdl-grid"> | |
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div> | |
<div class="demo-content mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col"> | |
<div class="demo-crumbs mdl-color-text--grey-500"> | |
<div class="balloon"> | |
<div><span class="text-in-ballown">☺</span> | |
</div> | |
<div><span class="text-in-ballown">B</span> | |
</div> | |
<div><span class="text-in-ballown">D</span> | |
</div> | |
<div><span class="text-in-ballown">A</span> | |
</div> | |
<div><span class="text-in-ballown">Y</span> | |
</div> | |
<div><spanclass class="text-in-ballown">☼</span> | |
</div> | |
</div> | |
</div> | |
<h3>Karina!</h3> | |
<p>You'll have the chance to do something... something courageous. And when you do, you'll discover something. That it is time to celebrate your birthday. (Pirates of the Caribbean) </p> | |
<iframe width="640" height="360" src="https://www.youtube.com/embed/2lFvsJihveg" frameborder="0" allowfullscreen></iframe> | |
<iframe width="640" height="360" src="https://www.youtube.com/embed/NqIAiGMlbC4" frameborder="0" allowfullscreen></iframe> | |
</div> | |
</iframe> | |
</div> | |
</div> | |
<footer class="demo-footer mdl-mini-footer"> | |
<div class="mdl-mini-footer--left-section"> | |
<ul class="mdl-mini-footer--link-list"> | |
<li><a href="#">Help</a></li> | |
<li><a href="#">Privacy and Terms</a></li> | |
<li><a href="#">User Agreement</a></li> | |
</ul> | |
</div> | |
</footer> | |
</main> | |
</div> | |
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script> | |
<!-- <script> | |
if (document.location.search.match(/type=embed/gi)) { | |
window.parent.postMessage('resize', "*"); | |
} | |
</script> --> | |
<script id="jsbin-source-html" type="text/html"><!doctype html> | |
<\!-- | |
Material Design Lite | |
Copyright 2015 Google Inc. All rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
https://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License | |
--> | |
<html __fvdsurfcanyoninserted="1" class=" clickberry-extension clickberry-extension-standalone clickberry-extension clickberry-extension-standalone clickberry-extension clickberry-extension-standalone"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="description" content="Karina"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | |
<title>Happy Birthday</title> | |
<\!-- Add to homescreen for Chrome on Android --> | |
<meta name="mobile-web-app-capable" content="yes"> | |
<link rel="icon" sizes="192x192" href="images/android-desktop.png"> | |
<\!-- Add to homescreen for Safari on iOS --> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<meta name="apple-mobile-web-app-title" content="Karina"> | |
<link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png"> | |
<link href="http://fonts.googleapis.com/css?family=Wendy+One" rel="stylesheet" type="text/css"> | |
<\!-- Tile icon for Win8 (144x144 + tile color) --> | |
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> | |
<meta name="msapplication-TileColor" content="#3372DF"> | |
<link rel="shortcut icon" href="images/favicon.png"> | |
<\!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones --> | |
<\!-- | |
<link rel="canonical" href="http://www.example.com/"> | |
--> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | |
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.teal-red.min.css"> | |
<link rel="stylesheet" href="styles.css"> | |
<style> | |
#view-source { | |
position: fixed; | |
display: block; | |
right: 0; | |
bottom: 0; | |
margin-right: 40px; | |
margin-bottom: 40px; | |
z-index: 900; | |
} | |
</style> | |
<script> | |
window.open = function() {}; | |
window.print = function() {}; | |
// Support hover state for mobile. | |
if (false) { | |
window.ontouchstart = function() {}; | |
} | |
<\/script> | |
<script type="text/javascript" src="chrome-extension://bfbmjmiodbnnpllbbbfblcplfjjepjdn/js/injected.js"><\/script> | |
<meta content="clickberry-extension-here"> | |
<meta content="clickberry-extension-here"> | |
<style type="text/css"></style> | |
<style type="text/css"></style> | |
<style type="text/css"></style><style type="text/css"></style><script type="text/javascript" src="chrome-extension://bfbmjmiodbnnpllbbbfblcplfjjepjdn/js/injected.js"><\/script><meta content="clickberry-extension-here"> | |
</head> | |
<body> | |
<div class="demo-layout mdl-layout mdl-layout--fixed-header mdl-js-layout mdl-color--grey-100"> | |
<header class="demo-header mdl-layout__header mdl-layout__header--scroll mdl-color--grey-100 mdl-color-text--grey-800"> | |
<div class="mdl-layout__header-row"> | |
<span class="mdl-layout-title">Hey Karina</span> | |
<div class="mdl-layout-spacer"></div> | |
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable"> | |
<label class="mdl-button mdl-js-button mdl-button--icon" for="search"> | |
<i class="material-icons">search</i> | |
</label> | |
<div class="mdl-textfield__expandable-holder"> | |
<input class="mdl-textfield__input" type="text" id="search"> | |
<label class="mdl-textfield__label" for="search">Enter your query...</label> | |
</div> | |
</div> | |
</div> | |
</header> | |
<div class="demo-ribbon"></div> | |
<main class="demo-main mdl-layout__content"> | |
<div class="demo-container mdl-grid"> | |
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div> | |
<div class="demo-content mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col"> | |
<div class="demo-crumbs mdl-color-text--grey-500"> | |
<div class="balloon"> | |
<div><span class="text-in-ballown">☺</span> | |
</div> | |
<div><span class="text-in-ballown">B</span> | |
</div> | |
<div><span class="text-in-ballown">D</span> | |
</div> | |
<div><span class="text-in-ballown">A</span> | |
</div> | |
<div><span class="text-in-ballown">Y</span> | |
</div> | |
<div><spanclass class="text-in-ballown">☼</span> | |
</div> | |
</div> | |
</div> | |
<h3>Karina!</h3> | |
<p>You'll have the chance to do something... something courageous. And when you do, you'll discover something. That it is time to celebrate your birthday. (Pirates of the Caribbean) </p> | |
<iframe width="640" height="360" src="https://www.youtube.com/embed/2lFvsJihveg" frameborder="0" allowfullscreen></iframe> | |
<iframe width="640" height="360" src="https://www.youtube.com/embed/NqIAiGMlbC4" frameborder="0" allowfullscreen></iframe> | |
</div> | |
</iframe> | |
</div> | |
</div> | |
<footer class="demo-footer mdl-mini-footer"> | |
<div class="mdl-mini-footer--left-section"> | |
<ul class="mdl-mini-footer--link-list"> | |
<li><a href="#">Help</a></li> | |
<li><a href="#">Privacy and Terms</a></li> | |
<li><a href="#">User Agreement</a></li> | |
</ul> | |
</div> | |
</footer> | |
</main> | |
</div> | |
<script src="https://code.getmdl.io/1.3.0/material.min.js"><\/script> | |
<\!-- <script> | |
if (document.location.search.match(/type=embed/gi)) { | |
window.parent.postMessage('resize', "*"); | |
} | |
<\/script> --> | |
</body> | |
</html> | |
</script> | |
<script id="jsbin-source-css" type="text/css">/** | |
* Copyright 2015 Google Inc. All Rights Reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
*/ | |
.demo-ribbon { | |
width: 100%; | |
height: 40vh; | |
background-color: #3F51B5; | |
-webkit-flex-shrink: 0; | |
-ms-flex-negative: 0; | |
flex-shrink: 0; | |
} | |
.demo-main { | |
margin-top: -35vh; | |
-webkit-flex-shrink: 0; | |
-ms-flex-negative: 0; | |
flex-shrink: 0; | |
} | |
.demo-header .mdl-layout__header-row { | |
padding-left: 40px; | |
} | |
.demo-container { | |
max-width: 1600px; | |
width: calc(100% - 16px); | |
margin: 0 auto; | |
} | |
.demo-content { | |
border-radius: 2px; | |
padding: 80px 56px; | |
margin-bottom: 80px; | |
} | |
.demo-layout.is-small-screen .demo-content { | |
padding: 40px 28px; | |
} | |
.demo-content h3 { | |
margin-top: 48px; | |
} | |
.demo-footer { | |
padding-left: 40px; | |
} | |
.demo-footer .mdl-mini-footer--link-list a { | |
font-size: 13px; | |
} | |
span { | |
text-transform: uppercase; | |
} | |
.balloon { | |
width: 738px; | |
padding-top: 30px; | |
padding-bottom:100px; | |
position: relative; | |
} | |
.balloon > div { | |
width: 50px; | |
height: 100px; | |
background: rgba(182, 15, 97, 0.9); | |
border-radius: 0; | |
border-radius: 10% 20% 30% 42%; | |
position: absolute; | |
padding: 10px; | |
box-shadow: inset 17px 7px 10px rgba(182, 15, 97, 0.9); | |
-webkit-transform-origin: bottom center; | |
} | |
.balloon > div:nth-child(1) { | |
background: rgba(182, 15, 97, 0.9); | |
left: 0; | |
box-shadow: inset 10px 10px 10px rgba(135, 11, 72, 0.9); | |
-webkit-animation: balloon1 6s ease-in-out infinite; | |
-moz-animation: balloon1 6s ease-in-out infinite; | |
-o-animation: balloon1 6s ease-in-out infinite; | |
animation: balloon1 3s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(1):before { | |
color: rgba(182, 15, 97, 0.9); | |
} | |
.balloon > div:nth-child(2) { | |
background: rgba(242, 112, 45, 0.9); | |
left: 120px; | |
box-shadow: inset 10px 10px 10px rgba(222, 85, 14, 0.9); | |
-webkit-animation: balloon2 6s ease-in-out infinite; | |
-moz-animation: balloon2 6s ease-in-out infinite; | |
-o-animation: balloon2 6s ease-in-out infinite; | |
animation: balloon2 6s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(2):before { | |
color: rgba(242, 112, 45, 0.9); | |
} | |
.balloon > div:nth-child(3) { | |
background: rgba(45, 181, 167, 0.9); | |
left: 240px; | |
box-shadow: inset 10px 10px 10px rgba(35, 140, 129, 0.9); | |
-webkit-animation: balloon4 6s ease-in-out infinite; | |
-moz-animation: balloon4 6s ease-in-out infinite; | |
-o-animation: balloon4 6s ease-in-out infinite; | |
animation: balloon4 6s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(3):before { | |
color: rgba(45, 181, 167, 0.9); | |
} | |
.balloon > div:nth-child(4) { | |
background: rgba(190, 61, 244, 0.9); | |
left: 360px; | |
box-shadow: inset 10px 10px 10px rgba(173, 14, 240, 0.9); | |
-webkit-animation: balloon1 5s ease-in-out infinite; | |
-moz-animation: balloon1 5s ease-in-out infinite; | |
-o-animation: balloon1 5s ease-in-out infinite; | |
animation: balloon1 5s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(4):before { | |
color: rgba(190, 61, 244, 0.9); | |
} | |
.balloon > div:nth-child(5) { | |
background: rgba(180, 224, 67, 0.9); | |
left: 480px; | |
box-shadow: inset 10px 10px 10px rgba(158, 206, 34, 0.9); | |
-webkit-animation: balloon3 5s ease-in-out infinite; | |
-moz-animation: balloon3 5s ease-in-out infinite; | |
-o-animation: balloon3 5s ease-in-out infinite; | |
animation: balloon3 5s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(5):before { | |
color: rgba(180, 224, 67, 0.9); | |
} | |
.balloon > div:nth-child(6) { | |
background: rgba(242, 194, 58, 0.9); | |
left: 600px; | |
box-shadow: inset 10px 10px 10px rgba(234, 177, 15, 0.9); | |
-webkit-animation: balloon2 3s ease-in-out infinite; | |
-moz-animation: balloon2 3s ease-in-out infinite; | |
-o-animation: balloon2 3s ease-in-out infinite; | |
animation: balloon2 3s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(6):before { | |
color: rgba(242, 194, 58, 0.9); | |
} | |
.balloon > div:before { | |
color: rgba(182, 15, 97, 0.9); | |
position: absolute; | |
bottom: -11px; | |
left: 52px; | |
content:"▲"; | |
font-size: 1em; | |
} | |
.text-in-ballown { | |
font-size: 4.8em; | |
color: white; | |
position: relative; | |
top: 30px; | |
left: 50%; | |
margin-left: -27px; | |
} | |
/*BALLOON 1 4*/ | |
@-webkit-keyframes balloon1 { | |
0%, 100% { | |
-webkit-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-webkit-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@-moz-keyframes balloon1 { | |
0%, 100% { | |
-moz-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-moz-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@-o-keyframes balloon1 { | |
0%, 100% { | |
-o-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-o-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@keyframes balloon1 { | |
0%, 100% { | |
transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
/* BAllOON 2 5*/ | |
@-webkit-keyframes balloon2 { | |
0%, 100% { | |
-webkit-transform: translateY(0) rotate(6eg); | |
} | |
50% { | |
-webkit-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@-moz-keyframes balloon2 { | |
0%, 100% { | |
-moz-transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
-moz-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@-o-keyframes balloon2 { | |
0%, 100% { | |
-o-transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
-o-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@keyframes balloon2 { | |
0%, 100% { | |
transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
/* BAllOON 0*/ | |
@-webkit-keyframes balloon3 { | |
0%, 100% { | |
-webkit-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-webkit-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@-moz-keyframes balloon3 { | |
0%, 100% { | |
-moz-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-moz-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@-o-keyframes balloon3 { | |
0%, 100% { | |
-o-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-o-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@keyframes balloon3 { | |
0%, 100% { | |
transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
/* BAllOON 3*/ | |
@-webkit-keyframes balloon4 { | |
0%, 100% { | |
-webkit-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-webkit-transform: translate(-15px, 20px) rotate(10deg); | |
} | |
} | |
@-moz-keyframes balloon4 { | |
0%, 100% { | |
-moz-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-moz-transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
@-o-keyframes balloon4 { | |
0%, 100% { | |
-o-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-o-transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
@keyframes balloon4 { | |
0%, 100% { | |
transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
transform: translate(-15px, 10px) rotate(10deg); | |
} | |
}</script> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright 2015 Google Inc. All Rights Reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
*/ | |
.demo-ribbon { | |
width: 100%; | |
height: 40vh; | |
background-color: #3F51B5; | |
-webkit-flex-shrink: 0; | |
-ms-flex-negative: 0; | |
flex-shrink: 0; | |
} | |
.demo-main { | |
margin-top: -35vh; | |
-webkit-flex-shrink: 0; | |
-ms-flex-negative: 0; | |
flex-shrink: 0; | |
} | |
.demo-header .mdl-layout__header-row { | |
padding-left: 40px; | |
} | |
.demo-container { | |
max-width: 1600px; | |
width: calc(100% - 16px); | |
margin: 0 auto; | |
} | |
.demo-content { | |
border-radius: 2px; | |
padding: 80px 56px; | |
margin-bottom: 80px; | |
} | |
.demo-layout.is-small-screen .demo-content { | |
padding: 40px 28px; | |
} | |
.demo-content h3 { | |
margin-top: 48px; | |
} | |
.demo-footer { | |
padding-left: 40px; | |
} | |
.demo-footer .mdl-mini-footer--link-list a { | |
font-size: 13px; | |
} | |
span { | |
text-transform: uppercase; | |
} | |
.balloon { | |
width: 738px; | |
padding-top: 30px; | |
padding-bottom:100px; | |
position: relative; | |
} | |
.balloon > div { | |
width: 50px; | |
height: 100px; | |
background: rgba(182, 15, 97, 0.9); | |
border-radius: 0; | |
border-radius: 10% 20% 30% 42%; | |
position: absolute; | |
padding: 10px; | |
box-shadow: inset 17px 7px 10px rgba(182, 15, 97, 0.9); | |
-webkit-transform-origin: bottom center; | |
} | |
.balloon > div:nth-child(1) { | |
background: rgba(182, 15, 97, 0.9); | |
left: 0; | |
box-shadow: inset 10px 10px 10px rgba(135, 11, 72, 0.9); | |
-webkit-animation: balloon1 6s ease-in-out infinite; | |
-moz-animation: balloon1 6s ease-in-out infinite; | |
-o-animation: balloon1 6s ease-in-out infinite; | |
animation: balloon1 3s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(1):before { | |
color: rgba(182, 15, 97, 0.9); | |
} | |
.balloon > div:nth-child(2) { | |
background: rgba(242, 112, 45, 0.9); | |
left: 120px; | |
box-shadow: inset 10px 10px 10px rgba(222, 85, 14, 0.9); | |
-webkit-animation: balloon2 6s ease-in-out infinite; | |
-moz-animation: balloon2 6s ease-in-out infinite; | |
-o-animation: balloon2 6s ease-in-out infinite; | |
animation: balloon2 6s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(2):before { | |
color: rgba(242, 112, 45, 0.9); | |
} | |
.balloon > div:nth-child(3) { | |
background: rgba(45, 181, 167, 0.9); | |
left: 240px; | |
box-shadow: inset 10px 10px 10px rgba(35, 140, 129, 0.9); | |
-webkit-animation: balloon4 6s ease-in-out infinite; | |
-moz-animation: balloon4 6s ease-in-out infinite; | |
-o-animation: balloon4 6s ease-in-out infinite; | |
animation: balloon4 6s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(3):before { | |
color: rgba(45, 181, 167, 0.9); | |
} | |
.balloon > div:nth-child(4) { | |
background: rgba(190, 61, 244, 0.9); | |
left: 360px; | |
box-shadow: inset 10px 10px 10px rgba(173, 14, 240, 0.9); | |
-webkit-animation: balloon1 5s ease-in-out infinite; | |
-moz-animation: balloon1 5s ease-in-out infinite; | |
-o-animation: balloon1 5s ease-in-out infinite; | |
animation: balloon1 5s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(4):before { | |
color: rgba(190, 61, 244, 0.9); | |
} | |
.balloon > div:nth-child(5) { | |
background: rgba(180, 224, 67, 0.9); | |
left: 480px; | |
box-shadow: inset 10px 10px 10px rgba(158, 206, 34, 0.9); | |
-webkit-animation: balloon3 5s ease-in-out infinite; | |
-moz-animation: balloon3 5s ease-in-out infinite; | |
-o-animation: balloon3 5s ease-in-out infinite; | |
animation: balloon3 5s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(5):before { | |
color: rgba(180, 224, 67, 0.9); | |
} | |
.balloon > div:nth-child(6) { | |
background: rgba(242, 194, 58, 0.9); | |
left: 600px; | |
box-shadow: inset 10px 10px 10px rgba(234, 177, 15, 0.9); | |
-webkit-animation: balloon2 3s ease-in-out infinite; | |
-moz-animation: balloon2 3s ease-in-out infinite; | |
-o-animation: balloon2 3s ease-in-out infinite; | |
animation: balloon2 3s ease-in-out infinite; | |
} | |
.balloon > div:nth-child(6):before { | |
color: rgba(242, 194, 58, 0.9); | |
} | |
.balloon > div:before { | |
color: rgba(182, 15, 97, 0.9); | |
position: absolute; | |
bottom: -11px; | |
left: 52px; | |
content:"▲"; | |
font-size: 1em; | |
} | |
.text-in-ballown { | |
font-size: 4.8em; | |
color: white; | |
position: relative; | |
top: 30px; | |
left: 50%; | |
margin-left: -27px; | |
} | |
/*BALLOON 1 4*/ | |
@-webkit-keyframes balloon1 { | |
0%, 100% { | |
-webkit-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-webkit-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@-moz-keyframes balloon1 { | |
0%, 100% { | |
-moz-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-moz-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@-o-keyframes balloon1 { | |
0%, 100% { | |
-o-transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
-o-transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
@keyframes balloon1 { | |
0%, 100% { | |
transform: translateY(0) rotate(-6deg); | |
} | |
50% { | |
transform: translateY(-20px) rotate(8deg); | |
} | |
} | |
/* BAllOON 2 5*/ | |
@-webkit-keyframes balloon2 { | |
0%, 100% { | |
-webkit-transform: translateY(0) rotate(6eg); | |
} | |
50% { | |
-webkit-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@-moz-keyframes balloon2 { | |
0%, 100% { | |
-moz-transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
-moz-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@-o-keyframes balloon2 { | |
0%, 100% { | |
-o-transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
-o-transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
@keyframes balloon2 { | |
0%, 100% { | |
transform: translateY(0) rotate(6deg); | |
} | |
50% { | |
transform: translateY(-30px) rotate(-8deg); | |
} | |
} | |
/* BAllOON 0*/ | |
@-webkit-keyframes balloon3 { | |
0%, 100% { | |
-webkit-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-webkit-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@-moz-keyframes balloon3 { | |
0%, 100% { | |
-moz-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-moz-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@-o-keyframes balloon3 { | |
0%, 100% { | |
-o-transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
-o-transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
@keyframes balloon3 { | |
0%, 100% { | |
transform: translate(0, -10px) rotate(6eg); | |
} | |
50% { | |
transform: translate(-20px, 30px) rotate(-8deg); | |
} | |
} | |
/* BAllOON 3*/ | |
@-webkit-keyframes balloon4 { | |
0%, 100% { | |
-webkit-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-webkit-transform: translate(-15px, 20px) rotate(10deg); | |
} | |
} | |
@-moz-keyframes balloon4 { | |
0%, 100% { | |
-moz-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-moz-transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
@-o-keyframes balloon4 { | |
0%, 100% { | |
-o-transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
-o-transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} | |
@keyframes balloon4 { | |
0%, 100% { | |
transform: translate(10px, -10px) rotate(-8eg); | |
} | |
50% { | |
transform: translate(-15px, 10px) rotate(10deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment