1.0.0 • Published 6 years ago

itxshadowizard v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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)