shadowizard_images
v1.0.6
Published
Get perfect shadows every time for all images.
Downloads
14
Maintainers
Readme
what is this?
Get perfect shadows every time for all images.
Installation
npm i shadowizard_images --save
Then...
import { shadowizard_images } from 'shadowizard_images';
shadowizard_images({
shadow_type: 'low',
padding: false
});
How to Use
- Step 1 : add images using HTML img tag
- Step 2 : assign shadowizard class to all images like, class="shadowizard"
Properties
shadowizard_images supports two(2) properties, which are optional:
- shadow_type - high | low (Defaults shadow_type property is low)
- padding - boolean (Default padding property is false)
Practice examples
- Step 1 : clone | download from https://github.com/Faisalskp/images-shadowizard-npm-package
- Step 2 : cd example
- Step 3 : npm install
- Step 3 : parcel index.html
- Step 4 : http://localhost:1234
Images
- Before
- After