Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="wrapper">
  <div class="habit habit1">
    <div class="icon be-curious">
   <svg version="1.1" id="be-curious" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 75 75" style="enable-background:new 0 0 75 75;" xml:space="preserve">
	<style type="text/css">
		.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F68832;}
		.st1{fill-rule:evenodd;clip-rule:evenodd;fill:#F7BE07;}
	</style>
	<path id="tripod" class="st0" d="M49.3,56.6l-9.5-16.2h0.5c1.1,0,2-1,2-2.1v-8.7c0-1.2-0.9-2.1-2-2.1h-5c-1.1,0-2,1-2,2.1v8.7
		c0,1.2,0.9,2.1,2,2.1h0.6l-9.6,16.2c-0.4,0.8-0.1,1.7,0.6,2.2c0.8,0.4,1.7,0.2,2.1-0.6l7.3-12.4v11.8c0,0.9,0.6,1.6,1.5,1.6
		s1.5-0.7,1.5-1.6V45.8l7.3,12.4c0.5,0.8,1.4,1,2.2,0.5C49.5,58.3,49.7,57.4,49.3,56.6z"/>
	<g id="telescope">
		<path class="st1" d="M13.9,31.3L24.9,29c1.4-0.3,2.8,0.6,3.1,2l0,0l0.5,2.2c0.3,1.4-0.6,2.8-2,3.1l0,0l-10.9,2.3
			c-1.4,0.3-2.8-0.6-3.1-2l-0.5-2.2C11.6,33,12.5,31.6,13.9,31.3C13.9,31.3,13.9,31.3,13.9,31.3"/>
		<path class="st0" d="M13,30.7L13,30.7c1.2-0.2,2.3,0.5,2.6,1.7l0,0l0.9,4.2c0.2,1.2-0.5,2.3-1.7,2.6h0c-1.2,0.2-2.3-0.5-2.6-1.7
			l-0.9-4.2C11.1,32.1,11.9,30.9,13,30.7"/>
		<g id="tube">
			<path class="st1" d="M58.2,18.6l-33.7,7.5c-1,0.2-1.6,1.2-1.4,2.2l1.9,9.1l0,0c0.2,1,1.2,1.7,2.2,1.4l33.7-7.5L58.2,18.6z"/>
			<path id="lens" class="st0" d="M54.8,18.1l2.7-0.6c1.1-0.2,2.2,0.5,2.4,1.6l2.3,11.2c0.2,1.1-0.5,2.2-1.6,2.4l-2.5,0.5
				c-1.1,0.2-2.2-0.5-2.4-1.6l0,0l-2.4-11.4C53.2,19.3,53.8,18.3,54.8,18.1"/>
		</g>
	</g>
	<circle id="star" class="st1" cx="67.2" cy="9.5" r="2.2"/>
	<circle id="star2" class="st1" cx="69.5" cy="18.6" r="1.1"/>
</svg>

    </div>
  </div>


  <div class="habit habit2">
    <div class="icon manage-yourself">
<svg version="1.1" id="scales" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 75 75" enable-background="new 0 0 75 75" xml:space="preserve">
  <path id="base" fill="#F68832" d="M37.99,39.36c0.26-0.35,0.77-0.35,1.03,0l5.31,14.78c0.31,0.42,0.01,1.02-0.51,1.02H33.19
  	c-0.52,0-0.82-0.6-0.51-1.02L37.99,39.36z"/>
  <g id="scale">
  	<path id="line" fill="none" stroke="#F68832" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M12.47,41.54
  		l52.6-5.53"/>
  	<path id="circ" fill="#F7BE07" d="M24.6,29.57c0.45,4.27-2.65,8.1-6.93,8.55c-4.27,0.45-8.1-2.65-8.55-6.93s2.65-8.1,6.92-8.55
  		C20.32,22.19,24.15,25.29,24.6,29.57"/>
  	<path id="rect" fill="#FCAC01" d="M64.43,32.38L54.1,33.46c-1.04,0.11-1.97-0.64-2.08-1.68l-1.09-10.33
  		c-0.11-1.04,0.64-1.97,1.68-2.08l10.33-1.09c1.04-0.11,1.97,0.64,2.08,1.68l1.09,10.33C66.22,31.34,65.47,32.27,64.43,32.38"/>
  </g>
</svg>

    </div>
  </div>
  
   <div class="habit habit3">
    <div class="icon learn-from-setbacks">
     <svg version="1.1" id="learn-from-setbacks" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="0 0 75 75" enable-background="new 0 0 75 75" xml:space="preserve">
	<g>
		<path id="arrow1" fill-rule="evenodd" clip-rule="evenodd" fill="#F7BE07" d="M27.44,20.27h-9.08c-0.39,0-0.7,0.31-0.71,0.7
			c0,0.19,0.07,0.37,0.21,0.5h0l2.76,2.76C17.73,27.88,16,32.48,16,37.5c0,2.7,0.51,5.28,1.42,7.66c0.2,0.53,0.79,0.81,1.32,0.61
			c0.06-0.02,0.11-0.05,0.16-0.08l2.92-1.71h0c0.42-0.25,0.61-0.77,0.44-1.24c-0.59-1.68-0.89-3.45-0.89-5.24
			c0-3.52,1.16-6.77,3.09-9.42l2.48,2.48c0.27,0.28,0.72,0.28,0.99,0c0.13-0.13,0.21-0.31,0.21-0.5v-9.08
			C28.14,20.59,27.83,20.27,27.44,20.27z"/>
		<path id="arrow2" fill-rule="evenodd" clip-rule="evenodd" fill="#FCAC01" d="M54.6,18.93c0-0.39-0.32-0.7-0.71-0.7
			c-0.19,0-0.37,0.08-0.5,0.21l-2.36,2.39C47.35,17.81,42.64,16,37.5,16c-2.58,0-5.05,0.45-7.34,1.29c-0.57,0.21-0.81,0.89-0.53,1.43
			l1.58,3v0c0.24,0.45,0.77,0.65,1.25,0.49c1.62-0.55,3.33-0.82,5.04-0.83c3.65,0,7.02,1.25,9.73,3.32l-2.79,2.83
			c-0.27,0.28-0.27,0.72,0.01,1c0.13,0.13,0.31,0.2,0.5,0.2l9.02-0.06c0.39,0,0.7-0.32,0.7-0.71c0,0,0,0,0,0L54.6,18.93z"/>
		<path id="arrow3" fill-rule="evenodd" clip-rule="evenodd" fill="#F79E00" d="M53.53,51.8C56.93,48,59,43,59,37.5
			c0-2.57-0.45-5.03-1.28-7.31c-0.19-0.54-0.78-0.82-1.32-0.63c-0.06,0.02-0.12,0.05-0.17,0.08l-2.95,1.73
			c-0.42,0.25-0.6,0.76-0.45,1.22c0.5,1.55,0.79,3.2,0.79,4.91c0,3.98-1.47,7.64-3.89,10.46l-2.57-2.6c-0.13-0.13-0.31-0.21-0.5-0.21
			c-0.39,0-0.7,0.31-0.71,0.7l-0.06,9.02c0,0,0,0,0,0c0,0.39,0.31,0.71,0.7,0.71l9.02,0.06c0.19,0,0.37-0.07,0.5-0.2
			c0.28-0.27,0.28-0.72,0.01-0.99L53.53,51.8z"/>
		<path id="arrow4" fill-rule="evenodd" clip-rule="evenodd" fill="#F68832" d="M44,56.94c-0.02-0.07-0.05-0.14-0.08-0.21l-1.59-3.02
			c-0.22-0.42-0.7-0.63-1.16-0.51c-1.2,0.29-2.43,0.43-3.67,0.44c-3.47,0-6.68-1.13-9.32-3.02l2.56-2.63c0.13-0.13,0.2-0.31,0.2-0.5
			c-0.01-0.39-0.32-0.7-0.71-0.69l-8.95,0.13c0,0,0,0,0,0c-0.39,0.01-0.7,0.33-0.69,0.71l0.13,8.95c0,0.19,0.08,0.37,0.21,0.5
			c0.28,0.27,0.72,0.26,1-0.02l2.47-2.54C28.02,57.32,32.56,59,37.5,59c2,0,3.93-0.29,5.77-0.8C43.82,58.05,44.15,57.49,44,56.94z"/>
	</g>
</svg>

    </div>
  </div>
 
   <div class="habit habit4">
    <div class="icon communicate-collaborate">
  <svg version="1.1" id="communicate-collaborate" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="0 0 75 75" enable-background="new 0 0 75 75" xml:space="preserve">
<path id="orange-chat" fill-rule="evenodd" clip-rule="evenodd" fill="#F68832" d="M59.77,17H29.23C27.45,17,26,18.45,26,20.23
	v18.53c0,1.79,1.45,3.23,3.23,3.23h19.5l5.38,6.23c0.65,0.76,1.89,0.29,1.89-0.7V42h3.77c1.79,0,3.23-1.45,3.23-3.23V20.23
	C63,18.45,61.55,17,59.77,17z"/>
<g id="yellow-chat">
	<path id="yellow" fill-rule="evenodd" clip-rule="evenodd" fill="#F7BE07" d="M46.77,26H16.23C14.45,26,13,27.45,13,29.23v18.53
		c0,1.79,1.45,3.23,3.23,3.23H21v5.58c0,0.98,1.21,1.45,1.87,0.73L28.66,51h18.1c1.79,0,3.23-1.45,3.23-3.23V29.23
		C50,27.45,48.55,26,46.77,26z"/>
	<g id="circles">
		<circle id="circ1" opacity="0" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" cx="23" cy="38.65" r="2.74"/>
		<circle id="circ2" opacity="0" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" cx="31.5" cy="38.65" r="2.74"/>
		<circle id="circ3" opacity="0" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" cx="40" cy="38.65" r="2.74"/>
	</g>
</g>
</svg>

    </div>
  </div>


  <div class="habit habit5">
    <div class="icon solve-problems">
     <svg version="1.1" id="solve-problems" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 75 75" enable-background="new 0 0 75 75" xml:space="preserve">
<circle id="circle" fill="#F7BE07" cx="28" cy="22" r="6"/>
<path id="rect" fill="#F79E00" d="M57.95,57.5h-7.9c-0.85,0-1.55-0.69-1.55-1.55v-7.9c0-0.85,0.69-1.55,1.55-1.55h7.9
	c0.85,0,1.55,0.69,1.55,1.55v7.9C59.5,56.81,58.81,57.5,57.95,57.5z"/>
<path id="cross" fill="#FCAC01" d="M14.18,45.05L16.23,43l-2.05-2.05c-0.77-0.77-0.77-2.01,0-2.77c0.77-0.77,2.01-0.77,2.77,0l0,0
	L19,40.23l2.05-2.05c0.78-0.75,2.02-0.73,2.77,0.05c0.73,0.76,0.73,1.96,0,2.72L21.77,43l2.05,2.05c0.77,0.77,0.77,2.01,0,2.77
	c-0.77,0.77-2.01,0.77-2.77,0l0,0L19,45.77l-2.05,2.05c-0.78,0.75-2.02,0.73-2.77-0.05C13.45,47.01,13.45,45.81,14.18,45.05
	L14.18,45.05z"/>
<path id="arrow" fill="#F68832" d="M57.07,28.02l-6.35-6.06c-0.22-0.23-0.6-0.24-0.83-0.02c-0.12,0.11-0.18,0.26-0.18,0.42v3.81
	c-10.71,0.87-19.13,9.82-19.13,20.76c0,3.7,0.98,7.17,2.68,10.18c0.27,0.46,0.87,0.62,1.33,0.35c0,0,0,0,0,0l2.85-1.64
	c0.46-0.27,0.6-0.85,0.34-1.31c-1.3-2.31-1.99-4.92-1.99-7.58c0-8.02,6.12-14.67,13.92-15.53v3.08c0,0.53,0.65,0.79,1.01,0.4
	l6.35-6.05C57.29,28.61,57.29,28.25,57.07,28.02z"/>
</svg>

    </div>
  </div>
  
   <div class="habit habit6">
    <div class="icon integrated-life">
      
<svg version="1.1" id="puzzle" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 75 75" enable-background="new 0 0 75 75" xml:space="preserve">
<path id="yellow" fill-rule="evenodd" clip-rule="evenodd" fill="#F7BE07" d="M34.2,42.83c0.45,0,0.82-0.36,0.82-0.81h0V36
	c0-1.66-1.34-3-3-3h-5.02v0c-0.45-0.01-0.81-0.37-0.81-0.82c0-0.17,0.05-0.32,0.13-0.45h0c0.4-0.67,0.65-1.44,0.65-2.28
	c0-2.46-1.99-4.45-4.45-4.45s-4.45,1.99-4.45,4.45c0,0.84,0.24,1.61,0.65,2.28h0c0.09,0.13,0.13,0.28,0.13,0.45
	c0,0.45-0.36,0.82-0.81,0.82v0h-5.02c-1.66,0-3,1.34-3,3v6.02h0c-0.01,0.45-0.37,0.81-0.82,0.81c-0.17,0-0.32-0.05-0.45-0.13v0
	c-0.67-0.4-1.44-0.65-2.28-0.65c-2.46,0-4.45,1.99-4.45,4.45s1.99,4.45,4.45,4.45c0.84,0,1.61-0.24,2.28-0.65v0
	c0.13-0.09,0.28-0.13,0.45-0.13c0.45,0,0.82,0.36,0.82,0.81h0V57c0,1.66,1.34,3,3,3h19c1.66,0,3-1.34,3-3v-6.02h0
	c-0.01-0.45-0.37-0.81-0.82-0.81c-0.17,0-0.32,0.05-0.45,0.13v0c-0.67,0.4-1.44,0.65-2.28,0.65c-2.46,0-4.45-1.99-4.45-4.45
	s1.99-4.45,4.45-4.45c0.84,0,1.61,0.24,2.28,0.65v0C33.88,42.78,34.03,42.83,34.2,42.83z"/>
<path id="orange" fill-rule="evenodd" clip-rule="evenodd" fill="#F68832" d="M73.06,37.82l-3.01-5.22l0,0
	c-0.23-0.38-0.73-0.52-1.12-0.29c-0.15,0.08-0.25,0.2-0.32,0.34h0c-0.38,0.68-0.93,1.28-1.65,1.7c-2.13,1.23-4.85,0.5-6.08-1.63
	c-1.23-2.13-0.5-4.85,1.63-6.08c0.72-0.42,1.52-0.59,2.3-0.58l0,0c0.16,0.01,0.31-0.02,0.46-0.11c0.39-0.23,0.53-0.72,0.31-1.11l0,0
	l-3.01-5.21c-0.83-1.44-2.66-1.93-4.1-1.1l-4.35,2.51l0,0c-0.39,0.22-0.89,0.08-1.11-0.31c-0.08-0.15-0.12-0.3-0.11-0.46l0,0
	c0.01-0.78-0.16-1.57-0.58-2.3c-1.23-2.13-3.95-2.86-6.08-1.63c-2.13,1.23-2.86,3.95-1.63,6.08c0.42,0.72,1.02,1.27,1.7,1.65l0,0
	c0.14,0.07,0.26,0.18,0.34,0.32c0.23,0.39,0.09,0.89-0.29,1.12l0,0l-4.35,2.51c-1.44,0.83-1.93,2.66-1.1,4.1l3.01,5.21l0,0
	c0.22,0.39,0.08,0.89-0.31,1.11c-0.15,0.08-0.3,0.12-0.46,0.11l0,0c-0.78-0.01-1.57,0.16-2.3,0.58c-2.13,1.23-2.86,3.95-1.63,6.08
	c1.23,2.13,3.95,2.86,6.08,1.63c0.72-0.42,1.27-1.02,1.65-1.7h0c0.07-0.14,0.18-0.26,0.32-0.34c0.39-0.23,0.89-0.09,1.12,0.29l0,0
	l3.01,5.22c0.83,1.44,2.66,1.93,4.1,1.1l16.46-9.49C73.4,41.09,73.89,39.26,73.06,37.82z"/>
</svg>

    </div>
  </div>
  
</div>
              
            
!

CSS

              
                .wrapper {
  display: grid;
  width: 500px;
  margin:0 auto;
  margin-top: 80px;
  justify-items: center;
  grid-template-columns: 200px 200px 200px;
  grid-gap: 50px;
  -webkit-backface-visibility: hidden;

}

.habit {
  height: 200px;
  width: 200px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.icon {
  margin:0 auto;
  margin-top: 60px;
  text-align: center;
  width: 75px;
  height: 75px;
/*   background: #ccc; */
}


.habit1:hover .be-curious #telescope {
/*   animation-play-state: running; */
  animation: telescope 2.5s ease-in-out forwards;
  -webkit-animation: telescope 2.5s ease-in-out forwards;
  transform-origin: 50% 100%;
  transform-origin: 26px 11px;
  -webkit-transform-origin: 26px 11px;
}

.habit1:hover .be-curious #star {
  animation: pulse-star 2.5s ease-in-out;
  -webkit-animation: pulse-star 2.5s ease-in-out;
  transform-origin: 90% 12%;
  transform-origin: 68px 9px;
  -webkit-transform-origin: 68px 9px;
}

/* .habit1:hover .be-curious #star2 {
  animation: pulse-star 2s 1.3s ease-in-out;
  -webkit-animation: pulse-star 2s 1.3s ease-in-out;
  transform-origin: 70px 19px;
  -webkit-transform-origin: 70px 19px;
} */


.be-curious #star, #star2 {
  opacity: 0;
}

.habit1:hover .be-curious  #telescope #lens {
   animation-play-state: running;
   animation: lens 2.5s ease-in  forwards;
  -webkit-animation: lens 2.5 ease-in  forwards;
   transform-origin: 50% 100%;
   -webkit-transform-origin: 50% 50%;
}

.habit2:hover .manage-yourself #scale {
/*   animation-play-state: running; */
  animation: swing 0.8s linear alternate infinite forwards;
  -webkit-animation: swing 0.8s linear alternate infinite forwards;
  transform-origin: 50% 50%;
  transform-origin: 38px 39px;
  -webkit-transform-origin: 38px 39px;
}

.habit2:hover .manage-yourself #circ {
/*   animation-play-state: running; */
  animation: move-circ 1.6s ease-in  infinite forwards;
  -webkit-animation: move-circ 1.6s ease-in  infinite forwards;
  transform-origin: 50% 50%;
/*   transform-origin: 38px 39px;
  -webkit-transform-origin: 38px 39px; */
}

.habit2:hover .manage-yourself #rect {
/*   animation-play-state: running; */
  animation: move-rect 1.6s ease-in  infinite forwards;
  -webkit-animation: move-rect 1.6s ease-in  infinite forwards;
  transform-origin: 50% 50%;
/*   transform-origin: 38px 39px;
  -webkit-transform-origin: 38px 39px; */
}

.habit3:hover .learn-from-setbacks svg {
  animation: rotate 1s forwards;
  animation-fill-mode: both;
  -webkit-animation: rotate 1s forwards;
  animation-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
} 

.habit4:hover .communicate-collaborate #orange-chat {
/*   animation-play-state: running; */
  animation: move-orange-chat 2s ease-in  infinite forwards;
  -webkit-animation: move-orange-chat 2s ease-in  infinite forwards;
  transform-origin: 50% 50%;
/*   transform-origin: 38px 39px;
  -webkit-transform-origin: 38px 39px; */
}

.habit4:hover .communicate-collaborate #yellow-chat {
/*   animation-play-state: running; */
  animation: move-yellow-chat 2s ease-in infinite forwards;
  -webkit-animation: move-yellow-chat 2s ease-in infinite forwards;
  transform-origin: 50% 50%;
/*   transform-origin: 38px 39px;
  -webkit-transform-origin: 38px 39px; */
}

.habit4:hover .communicate-collaborate #circ1 {
  animation: show-dots 2s ease  infinite forwards;
  -webkit-animation: show-dots 2s ease  infinite forwards;
} 

.habit4:hover .communicate-collaborate #circ2 {
  animation: show-dots 2s 0.3s ease infinite forwards;
  -webkit-animation: show-dots 2s 0.3s ease infinite forwards;
} 

.habit4:hover .communicate-collaborate #circ3 {
  animation: show-dots 2s 0.5s ease  infinite forwards;
  -webkit-animation: show-dots 2s 0.5s ease  infinite forwards;
} 

.habit5:hover .solve-problems #circle {
  animation: animate-circle 1.5s infinite ease-in-out;
  -webkit-animation: animate-circle 1.5s  infinite ease-in-out;
  transform-origin: 37% 29%;
  transform-origin: 28px 22px;
  -webkit-transform-origin: 28px 22px;
}

.habit5:hover .solve-problems #arrow {
  animation: animate-arrow 1.5s infinite ease-in-out;
  -webkit-animation: animate-arrow 1.5s  infinite ease-in-out;
  transform-origin: 50% 50%;
  transform-origin: 44px 40px;
  -webkit-transform-origin: 44px 40px;
}

.habit5:hover .solve-problems #rect {
  animation: animate-rect 1.5s infinite ease-in-out forwards;
  -webkit-animation: animate-rect 1.5s  infinite ease-in-out  forwards;
/*   transform-origin: 37% 29%; */
  transform-origin: 54px 52px;
  -webkit-transform-origin: 54px 52px;
}

.habit5:hover .solve-problems #cross {
  animation: animate-cross 1.5s infinite ease-in-out;
  -webkit-animation: animate-cross 1.5s  infinite ease-in-out;
/*   transform-origin: 37% 29%; */
  transform-origin: 19px 43px;
  -webkit-transform-origin: 19px 43px;
}

/* .manage-yourself.animated #scale {
  animation: swing 0.5s linear alternate infinite forwards;
  -webkit-animation: swing 0.5s linear alternate infinite forwards;
  transform-origin: 50% 50%;
  transform-origin: 38px 39px;
  -webkit-transform-origin: 38px 39px;
}
 */

/* .learn-from-setbacks {
    animation-play-state: paused; 
}


/* .learn-from-setbacks.animated {
  animation: rotate 1s  infinite  forwards;
  -webkit-animation: rotate 1s   infinite forwards;
    animation-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
} */

.habit6:hover .integrated-life #orange {
  animation: solve-puzzle 1.2s forwards;
  -webkit-animation: solve-puzzle 1.2s  forwards;
  animation-timing-function: easy-in;
  transform-origin: 50% 50%;
}

/* Animations */

@keyframes swing {
  0%, 10% {
    transform: rotate(0deg);
  }   
  50% {
      transform: rotate(6deg);
   }
   90%, 100% {
      transform: rotate(12deg);
   }
 }

@keyframes move-circ {
   0%, 10% {
    transform: translate(-0.5px, 0px);
  }   
  40% {
      transform: translate(1px, 0px);
   }
   90%, 100% {
      transform: translate(0px, 0px);
   }
}

@keyframes move-rect {
   0%, 10% {
    transform: translate(-0.5px, 0px);
  }   
  40% {
      transform: translate(1px, 0px);
   }
   90%, 100% {
      transform: translate(0px, 0px);
   }
}


 @keyframes lens {
  0%, 45% {
    transform:  translate(0);
  }   
  50%,56% {
      transform: translate(3px, -1px);
   }
  65%, 100% {
      transform:  translate(0);
   }
 }


@keyframes pulse-star {
/*   0%, 10%  {opacity: 0}
  15%, 70% {opacity: 1}
  74%, 100%     {opacity: 0} */
  0% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
 }

@keyframes telescope {
  0%, 20% {
    -webkit-transform: rotate(0) translate(0);
    transform: rotate(0) translate(0);
  }

  30%, 80% {
    -webkit-transform: rotate(-7deg) translate(-2px, -1px);
    transform: rotate(-7deg) translate(-2px, -1px);
   }

  92%, 100% {
    -webkit-transform: rotate(0) translate(0);
    transform: rotate(0) translate(0);
  }
}

 @keyframes rotate {
   0% {
     transform: rotate(0deg);
   }
    
   100% {
     transform: rotate(360deg);
   }
 }


/* 
@keyframes solve-puzzle {
   0% {
     transform: rotate(0deg) translate(0);
   }
    
   20% {
     transform: rotate(15deg) translate(-1px, 3px);
   }
  
  40% {
     transform: rotate(30deg) translate(-3px, 4px);
   }
  70%, 100% {
     transform: rotate(30deg) translate(-6px, 5px);
   }
 } */


@keyframes solve-puzzle {
   0% {
     transform: rotate(0deg) translate(0);
   }
   
  10% {
     transform: rotate(0deg) translate(3px, 5px);
   }
  
   20%, 35% {
     transform: rotate(-60deg) translate(-22px, 16px);
     transition-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
  
   50% {
     transform: rotate(-60deg) translate(-22px, 26px);
   }
  
   80%, 100% {
    transform: rotate(30deg) translate(-6px, 5px);
    transition-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }

 }

@keyframes move-orange-chat {
    0%, 20% {
      -webkit-transform: rotate(0) translate(0);
      transform: rotate(0) translate(0);
    }

    30%, 75% {
      -webkit-transform: rotate(8deg) translate(5px, -3px);
      transform: rotate(8deg) translate(5px, -3px);
    }

    85%, 100% {
      -webkit-transform: rotate(0) translate(0);
      transform: rotate(0) translate(0);
    }
}

@keyframes move-yellow-chat {
    0%, 20% {
      -webkit-transform: rotate(0) translate(0);
      transform: rotate(0) translate(0);
    }

    30%, 75% {
      -webkit-transform: rotate(-7deg) translate(-3px, 2px);
      transform: rotate(-7deg) translate(-3px, 2px);
    }

    85%, 100% {
      -webkit-transform: rotate(0) translate(0);
      transform: rotate(0) translate(0);
    }
}

@keyframes show-dots {
  0%, 20%   { 
    opacity: 0;
    transform: translate(0);
  }
  30%  { 
    opacity: 1;
    transform: translate(0px, 1px);
  }
  45% { 
    opacity: 1;
    transform: translate(0px, -2px);
  }
 90%, 100% { 
   opacity: 0;
   transform: translate(0);
  }
}

@keyframes animate-arrow {
  0% { transform: rotate(0deg);} 
  20% { transform: rotate(-10deg); } 
  60% { transform: rotate(5deg); } 
  80% { transform: rotate(-5deg); } 
  100% { transform: rotate(0deg); }   
}

@keyframes animate-circle {
  0% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }
  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: scale(0.82);
    animation-timing-function: ease-in;
  }
  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
/*     0%, 70% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    78%, 85% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    } */
 }

 @keyframes animate-rect {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  } 
}

@keyframes animate-cross {
  0% {
      transform: rotate(0) scale(1);
  }

  30%, 60% {
      transform: rotate(360deg) scale(1);
  }

  80% {
      transform: rotate(0deg) scale(0);
  }
  
   100% {
      transform: rotate(0) scale(1);
  }
}
              
            
!

JS

              
                

// $(".habit2").mouseleave(function() {  
//   $(".manage-yourself").bind('animationiteration webkitAnimationIteration', function() {
//     $(".manage-yourself").removeClass("animated");
//     $(".manage-yourself").unbind('animationiteration webkitAnimationIteration');    
//   });
// });

// $(".habit2").mouseenter(function() {
//   $(".manage-yourself").addClass("animated");
// });



// $(".habit3").mouseleave(function() {  
//   $(".learn-from-setbacks").bind('animationiteration webkitAnimationIteration', function() {
//     $(".learn-from-setbacks").removeClass("animated");
//     $(".learn-from-setbacks").unbind('animationiteration webkitAnimationIteration');    
//   });
// });

// $(".habit3").mouseenter(function() {
//   $(".learn-from-setbacks").addClass("animated");
// });

              
            
!
999px

Console