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 btn = document.getElementById('cta'); | |
var btn2 = document.getElementById('cta2'); | |
btn.onclick = function () { | |
var morphing = anime({ | |
targets: '.polymorph', | |
points: [ | |
{ value: '215, 110 0, 110 0, 0 47.7, 0 67, 76' }, | |
{ value: '215, 110 0, 110 0, 0 0, 0 67, 76' } | |
], |
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
<div class="container"> | |
<header> | |
<h1>ANDREW <br><span class="header-second-line">M<span class="header-insert">i</span>LLAR</span></h1> | |
<h2>"Only half of programming is coding. The other 90% is debugging."</h2> | |
<nav class="hidden"> | |
<div class="hamburger"> | |
<span></span> | |
<span></span> | |
<span></span> | |
</div> |