shadowizard_images

Get perfect shadows every time for all images.

Usage no npm install needed!

<script type="module">
  import shadowizardImages from 'https://cdn.skypack.dev/shadowizard_images';
</script>

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

Images

  • Before
  • After