1.0.1 • Published 2 years ago
shadow-creator v1.0.1
What is this ?
Get perfect shadows every time for the non-designer.
Installation
npm i shadow-creator --save
Then...
import { shadowcreator } from 'shadow-creator';
shadowcreator({
shadow_type: 'soft',
padding: false
});
Options
Shadow Creator now supports 2 options, both of whic are optional:
- shadow_type - hard / soft (Defaults to soft)
- padding - any px (Defaults to 0px)