shaddyjs

1.0.0 • Public • Published

Shadow js

Get perfect box shadow for your elements without writing CSS.

installation

npm i shadowjs --save

How to use

import {createShadow} from 'shadowjs`;

createShadow({
    shadowType: 'soft',
    padding: 'false'
});

options

shadowjs supports 2 options, both of which are optional;

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

Readme

Keywords

Package Sidebar

Install

npm i shaddyjs

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.48 kB

Total Files

3

Last publish

Collaborators

  • gloverola