css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="cover center">
	<img class="HBM center" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/174563/HBM.jpg" alt="HBM Cover"/>
	<svg class="center" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="647.5" height="432.3" viewBox="0 0 647.5 432.3" version="1.1">
	<g transform="translate(-48.487322,-606.8785)">
	<path id="lippen" transform="translate(0,589.99579)" d="M48.5 238.1C112.9 154.2 150.9 52.9 262.9 19c16.8-2.9 59.6-3.2 109.9 50.4 24.3-27 51.6-49.6 91.9-52.5 70.6 1.3 150 98.5 231.3 217.2-63.6 94.6-87.9 196.2-311.1 215.2C233.6 446.5 127.2 369.8 48.5 238.1z" fill="#e20000"/>
	<path transform="translate(0,589.99579)" d="m86.9 237.1c93-46 186.2-92.9 281.8-97 89 1.2 186.2 43.2 285.9 98-88.2 66.6-182.6 94.4-278.8 110.1C247.5 341.3 171.5 285.1 86.9 237.1z" style="fill:#030000;stroke:#000"/>
	<path d="m208.1 768.5c115.1-49.7 213.7-51.6 314.9-5.1-50.8 35.8-101.5 34.3-160.4 0-55.9 57.9-157.9 22.7-154.6 5.1z" fill="#feffff"/>
	<path id="zunge" d="m159.6 281.5c12.8-14.7 30-28.6 87.9-35.4 69-9.7 143.7 20.5 210.1 10.1C574 230.3 570.7 159.1 599.1 99 639.3 61.3 717.8 181.5 647.3 246 513.7 327.5 368.8 412 159.6 281.5z" transform="translate(0,589.99579)" fill="#f66d6a"/>
	</g>

	<path id="zunge02" d="m 159.6,281.54 c 12.81,-14.69 13.81413,-13.52252 71.70413,-20.26252 32.3747,1.03391 33.2833,-48.39404 33.2833,-48.39404 0,0 15.0813,-79.36322 61.86396,-105.96309 C 460.44144,57.308043 622.79322,183.93483 622.27322,261.35483 488.67322,342.78483 368.78,412.04 159.6,281.54 z"
   id="zunge02" />
	</svg>
	<h1 class="head center">Wir wissen, was Sie fühlen!</h1>
</div>

  <a class="source">www.harvardbusinessmanager.de/heft/index-2016-1.html</a>

            
          
!
            
              
body {
  background: #B5A117;
}
.cover {
  width: 90vw;
  height: 100%;
  max-height: 90vh;
  max-width: 120vh;
  overflow: hidden;
}
.center {
    position: absolute;    
	top: 50%;
    left: 50%;
}
.cover img {
	position: relative;
	height: 98%;
	visibility: hidden;
}
svg {
	position: absolute;
    top: 33%;
    left: 11%;
    display: block;
    width: auto;
    height: 40%;
    visibility: hidden;
    overflow: visible;
}

#zunge02{
  visibility:hidden;
}
.source{
    position: absolute;
    top: auto;
    bottom: 1%;
    left: auto;
    right: 10px;
    color: white;
    z-index: 1000;
}
.head {top: 72%; font-size: 4vh;color: rgb(14, 46, 12);visibility: hidden;}
@media (max-width: 767px) {

.head {font-size: 3vw;}


	
}
            
          
!
            
              TweenLite.set(".center", {xPercent: -50, yPercent: -50, force3D:true });

var zunge = $("#zunge").attr("d");

TweenLite.set("svg", {visibility:"visible"})

var tl = new TimelineMax();
tl.to("#zunge",2, {morphSVG:"#zunge02",repeat:7, yoyo: true,  repeatDelay:0.5})
.to("#lippen",2, { scaleY: 0.95, repeat:7, yoyo: true,  repeatDelay:0.5},0)
.to(".head",1,{autoAlpha:1}, 1)
.to(".head",1,{autoAlpha:0}, 3)
.set(".HBM",{autoAlpha:1}, 6)
.from(".HBM",3, {height: "1%", ease: Back.easeInOut.config(1.7)}, 5)
.to("body",1,{backgroundColor: "#7B7862"}, 6)


            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console