UNPKG

shadpadder

Version:

Get shadow and padding for non-shaded and non-padded elements

38 lines (27 loc) 853 B
# What is this? Get perfect shadows every time for the non-shaded elements # Installation `npm i shadpadder --save` Then, procedure how to use it as follows:- ``` import { shadpadder} from 'shadpadder; shadpadder({ shadow-type: 'soft', padding: false }); ``` ### Step1 >> Go to [https://github.com/settings/tokens/new](https://github.com/settings/tokens/new) >> Give a Note like `Git_package` >> now scope to `read` `write` `repo` package and then Token is there ### Step2 >> cd form-validator >> in form-validator create a .npmrc file and enter a line ``` //npm.pkg.github.com/:_authToken=TOKEN @TeamYourCircle:registry=https://npm.pkg.github.com ``` ## Options ShadPadder supports @ options, both of which are optional: * *shadow_type* - _hard | soft_ (Defaults to soft) * *padding* - _boolean_ (Defaults to false)