This file contains 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
<svg class="icon icon-small icon-yellow"> | |
<title>Lorikeet</title> | |
<use xlink:href="styles/mysource_files/sprite.svg#lorikeet"></use> | |
</svg> |
This file contains 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
<a href="#" class="btn btn-small" aria-label="Lorikeet"> | |
<svg class="icon icon-small icon-yellow" aria-hidden="true"> | |
<use xlink:href="styles/mysource_files/sprite.svg#lorikeet"></use> | |
</svg> | |
</a> |
This file contains 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
<a href="#" class="btn btn-small"> | |
<svg class="icon icon-small icon-yellow" aria-hidden="true"> | |
<use xlink:href="styles/mysource_files/sprite.svg#lorikeet"></use> | |
</svg> | |
Lorikeet | |
</a> |
This file contains 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
var $graphLink = $('.graph__link'), | |
$graphBarRed = $('.graph__bar--red'), | |
$graphBarGreen = $('.graph__bar--green'), | |
$graphBarYellow = $('.graph__bar--yellow'), | |
$graphStarYellow = $('.graph__star--yellow'), | |
$graphStarRed = $('.graph__star--red'), | |
$graphStarGreen = $('.graph__star--green'); | |
var graphTFOrigin = '50% bottom', | |
graphDuration = 1.2; |
This file contains 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
var $graphLink = $('.graph__link'), | |
$graphBarRed = $('.graph__bar--red'), | |
$graphBarGreen = $('.graph__bar--green'), | |
$graphBarYellow = $('.graph__bar--yellow'), | |
$graphStarRed = $('.graph__star--red'), | |
$graphStarGreen = $('.graph__star--green'), | |
$graphStarYellow = $('.graph__star--yellow'); | |
$graphLink.hover(function() { | |
TweenMax.to($graphBarRed, 1.2, { |
This file contains 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
var $graphStarRed = $('.graph__star--red'), | |
$graphStarGreen = $('.graph__star--green'), | |
$graphStarYellow = $('.graph__star--yellow'); | |
// hover over | |
TweenMax.to($graphStarRed, 1.2, { | |
y: -25, | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); |
This file contains 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
TweenMax.to($('.graph__bar--red'), 1.2, { | |
scaleY: 1, | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); | |
TweenMax.to($('.graph__bar--green'), 1.2, { | |
scaleY: 1, | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); | |
This file contains 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
TweenMax.to($('.graph__bar--red'), 1.2, { | |
scaleY: 1, | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); | |
TweenMax.to($('.graph__bar--green'), 1.2, { | |
scaleY: 1, | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); | |
This file contains 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
TweenMax.to($('.graph__bar--red'), 1.2, { | |
scaleY: 1.5, | |
transformOrigin: '50% bottom', | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); | |
TweenMax.to($('.graph__bar--green'), 1.2, { | |
scaleY: 0.4, | |
transformOrigin: '50% bottom', | |
ease: Elastic.easeOut.config(1, 0.2) |
This file contains 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
TweenMax.to($('.graph__bar--red'), 1.2, { | |
scaleY: 1.5, | |
transformOrigin: '50% bottom', | |
ease: Elastic.easeOut.config(1, 0.2) | |
}); | |
TweenMax.to($('.graph__bar--green'), 1.2, { | |
scaleY: 0.4, | |
transformOrigin: '50% bottom', | |
ease: Elastic.easeOut.config(1, 0.2) |