This package is very useful to style webpages creatively.
Install this npm package using following command :-
npm install npm-stylewebpages
Firstly give the class in the html document as 'box-shadow'. Now you can customize the box shadow using the following code :-
import { boxShadow } from 'stylewebpage';
boxShadow({
boxShadowType: 'soft',
padding: true
});
This npm package supports 2 options, both of which are optional.
- boxShadowType: hard | soft ( Default - soft )
- padding: true | false ( Default - false )