tilt-hover-effect v0.1.0
This project is inspired by the hover effect seen on Codrop.
This module contains 6 samples of the tilt hover (Check the demo).
Install
npm install --save tilt-hover
Props
className: string
Purpose: To modify the size of the cardbackgroundClassName: string
Purpose: To change the image background (using css)glassClassName: string
Purpose: To change the gradient background (using css)captionClassName: string
Purpose: To modify the container div of the title and subtitlerectangleClassName: string
Purpose: The rectangle inside the card is a svg. Use this prop to add a class that modifies the svg attributes like stroke, fill, ...titleClassName: string
Purpose: To add style to the card's titledesciptionClassName: string
Purpose: To add style to the card's descriptiontitle: string
The title of the carddescription: string
The description of the card
7 years ago