Add vanilla tilt animation on introduction image
This commit is contained in:
parent
249648a281
commit
5d0197c3d7
|
@ -6,7 +6,7 @@
|
|||
class="introduction__header"
|
||||
}}
|
||||
|
||||
<div class="introduction__img">
|
||||
<div class="introduction__img" data-tilt data-tilt-max="50" data-tilt-speed="400" data-tilt-perspective="400">
|
||||
{{svg 'images/introduction.svg' }}
|
||||
|
||||
<div class="introduction__counter">
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'babel-polyfill';
|
||||
import 'vanilla-tilt';
|
||||
import nav from './nav';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
|
|
Loading…
Reference in New Issue