带方向感知功能的js图片遮罩层插件 Direction aware content reveals.

Direction aware content reveals.

This plugin detects which direction a user enters/exits a block, allowing you to reveal/hide content based on this direction.

The hidden content can animate in from the direction the user enters and animate out the direction the user leaves, allowing you to create interesting animation effects.

Examples

Swing animation

Slide animation

Rotate animation

Bootstrap 4 grid integration