What is this?
Get perfect shadow without the hassle.
Installation
npm i shadow-box --save
Then...
import { shadow } from 'shadow-box';
shadow({
shadow_type: 'show',
padding : 'false'
});
Options
Shadow-box supports 2 options, both of which are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding boolean (Defaults to false)