softshadow

styling your images with a nice shadow for the non-designer

Usage no npm install needed!

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

README

What is this ?

Get perfect shadow everytime for the non-designer.

Installation


npm i softshadow 

then ...

import { softshadow } from 'sofshadow';

softshadow({
    shadow_type : 'soft',
    padding:false
})

options

Softshadow support 2 options,both of which are optional

  • shadow_type - hard | soft (Default to soft)
  • padding - boolean (Default to false)