1CSS
2<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
3
4JS
5<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
6
7INITIALIZE AOS:
8<script>
9 AOS.init();
10</script>
1svg {
2 position: fixed; /* make sure it stays put so we can see it! */
3
4 animation: rotate 1s linear infinite;
5 /*animation-play-state: paused;*/
6 animation-delay: calc(var(--scroll) * -1s);
7}
8
1.inline-photo {
2 border: 1em solid #fff;
3 border-bottom: 4em solid #fff;
4 border-radius: .25em;
5 box-shadow: 1em 1em 2em .25em rgba(0,0,0,.2);
6 margin: 2em auto;
7 opacity: 0;
8 transform: translateY(4em) rotateZ(-5deg);
9 transition: transform 4s .25s cubic-bezier(0,1,.3,1),
10 opacity .3s .25s ease-out;
11 max-width: 600px;
12 width: 90%;
13 will-change: transform, opacity;
14}
15