shadowpicture

Add awesome shadows for the non-designer

Usage no npm install needed!

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

README

What is this ?

Get the perfects shadows every time for the non-designer

Installation

npm i shadowpicture --save

Then...

import { shadowpicture } from 'shadowpicture'

shadowpicture({
  shadow_type: 'soft',
  padding:false
});

Options

Shadowpicture supports 2 options,both of which are optionnal:

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