1.0.4 • Published 5 years ago
shadowizard v1.0.4
Shadowizard
Get the perfect shadows every time for the non designer.
Installation
npm i shadowizard --save
Then...
import { shadowizard } from 'shadowizard';
shadowizard({
shadow_type: 'soft',
padding: false
});
Then...
Add the shadowizard class to the element you want a shadow add to.
<img src="image.jpg" class="shadowizard">
Options
Shadowizard support 2 options, both of which are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)