Simple 3D plane hover effect using CSS3 transform
Forked from Rian Ariona's Pen 3D hover plane effect.
A Pen by Captain Anonymous on CodePen.
| module.exports = { | |
| 'plugins': [ | |
| 'react' | |
| ], | |
| 'ecmaFeatures': { | |
| 'jsx': true | |
| }, | |
| 'env': { | |
| 'browser': true, | |
| 'node': true, |
Simple 3D plane hover effect using CSS3 transform
Forked from Rian Ariona's Pen 3D hover plane effect.
A Pen by Captain Anonymous on CodePen.
| function throttle( fn, time ) { | |
| var t = 0; | |
| return function() { | |
| var args = arguments, ctx = this; | |
| clearTimeout(t); | |
| t = setTimeout( function() { | |
| fn.apply( ctx, args ); | |
| }, time ); | |
| }; |