1.0.6 • Published 3 years ago
shadow-mod v1.0.6
what is this?
Get perfect shadows every time for the non-designer
Installation
npm i shadowDom --save
Then...
import { shadowDom } from 'shadowDom'
shadowDom({
shadow_type: 'soft',
padding: false
})
Options
shadowDom supports 2 options, both of which are optionl:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)