softshado

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

Usage no npm install needed!

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

README

what is this?

Get perfect shadow every time for the non-designer.

installation

npm i softshadow

then ...

import {softshadow} from 'softshadow';

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