tilting-image
v1.0.4
Published
A React component that adds a tilt effect on images
Maintainers
Readme
TiltingImage
A React component that adds a tilt effect on images.
Inspired by ImageTiltEffect.
See it in action here.
Install
With npm:
npm install tilting-imageOr grab TiltingImage.js.
Usage
<TiltingImage src="images/image1.jpeg" width="800px" height="600px" />Options
src - the image source
width - component width (accepts any CSS width values)
height - component height (accepts any CSS height values)
className - adds a class attribute (optional)
