Simple library to add animation on intersection
Simple install with npm or download dist file.
npm install ioaa -s
...
Option | Default | Description |
---|---|---|
class | ioaa | Class Name for animation |
data-ioaa-animation | null | Your class name animation |
data-ioaa-repeat | false | True or False, not required |
.animateLeft {
animation-name: fadeInLeft;
animation-duration: 1s;
}
@keyframes fadeInLeft {
from {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}