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 card -
backgroundClassName: 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 subtitle -
rectangleClassName: 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 title -
desciptionClassName: string
Purpose: To add style to the card's description -
title: string
The title of the card -
description: string
The description of the card