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 $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
<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
<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
<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
<body> | |
<header> | |
<h1>My wonderful blog</h1> | |
<p>My tagline</p> | |
</header> | |
<aside> | |
<!-- this aside contains two sections that are tangentially related | |
to the page, namely, links to other blogs, and links to blog posts | |
from this blog --> | |
<nav> |
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> | |
<use xlink:href="styles/mysource_files/sprite.svg#icon-name"></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
<svg class="icon icon-medium icon-red"> | |
<use xlink:href="styles/mysource_files/sprite.svg#icon-name"></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
<svg class="icon icon-medium icon-red icon-inner-blue"> | |
<use xlink:href="styles/mysource_files/sprite.svg#icon-name"></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
<nav>Nav goes here</nav> | |
<div class="hero> | |
<img src="images/hero-10x10.jpg" class="hero__img" alt="" data-src="original-hero.jpg" data-webp="original-hero.webp"> | |
<section class="hero__section"> | |
<div class="hero__content"> | |
<h1>Title goes here</h1> | |
<p>Description goes here</p> | |
<a href="#">CTA button</a> | |
</div> |